programming-examples/perl/Hash/Get key value pair through hash reference.pl

4 lines
87 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
%hash = (that => this);
$hashreference = \%hash;
print "$$hashreference{that}\n";