programming-examples/perl/Datatype/Reference is a scalar variable.pl

7 lines
69 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
$variable1 = 5;
$reference = \$variable1;
print $reference;