Mega Code Archive
Categories
/
Perl
/
Data Type
Get the reference to a scalar by using the form $scalarreference = name{SCALAR}
$scalar = 1; ${*scalar{SCALAR}} = 5; print $scalar;