Mega Code Archive
Categories
/
Perl
/
Data Type
Using ref function to get the type of the reference
$variable1 = 5; $scalarref = \$variable1; print (ref $scalarref);