programming-examples/perl/Datatype/Reference is a scalar variable.pl
2019-11-15 12:59:38 +01:00

7 lines
69 B
Perl

$variable1 = 5;
$reference = \$variable1;
print $reference;