6 lines
126 B
Perl
6 lines
126 B
Perl
$hash{fruit} = apple;
|
|
$hash{sandwich} = hamburger;
|
|
$hash{drink} = bubbly;
|
|
|
|
$hashref = \%hash;
|
|
print $hashref->{sandwich}; |