programming-examples/perl/Datatype/Get the value from a reference.pl

5 lines
150 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
$scalar = $$scalarreference;
@array = @$arrayreference;
%hash = %$hashreference;
&$codereference($argument1, $argument2);
*glob = *$globreference;