Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Does Perl have reference type?
Does Perl have reference type
✍: Guest
Yes. Perl can make a scalar or hash type reference by using backslash operator. For example:
$str = "here we go"; # a scalar variable $strref = \$str; # a reference to a scalar @array = (1..10); # an array $arrayref = \@array; # a reference to an array
Note that the reference itself is a scalar.
2007-11-20, 6327👍, 0💬
Popular Posts:
How Can we change priority & what levels of priority are provided by Dot Net? Thread Priority ca...
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, ...
How To Merge Cells in a Row? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells If you wan...
What is the quickest sorting method to use? The answer depends on what you mean by quickest. For mos...
What's the output of the following program? And why? #include main() { typedef union { int a; char b...