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, 5755👍, 0💬
Popular Posts:
How To Wirte a Simple JUnit Test Class? This is a common test in a job interview. You should be able...
How can method defined in multiple base classes with same name be invoked from derived class simulta...
Why is there extra white space before or after tables? This is often caused by invalid HTML syntax. ...
How do we configure “WebGarden”? “Web garden” can be configured by using process model settings in...
Can static variables be declared in a header file? You can't declare a static variable without defin...