programming-examples/perl/Hash/Get key value pair through hash reference.pl
2019-11-15 12:59:38 +01:00

4 lines
87 B
Perl

%hash = (that => this);
$hashreference = \%hash;
print "$$hashreference{that}\n";