programming-examples/perl/Hash/Empty hash.pl
2019-11-15 12:59:38 +01:00

10 lines
135 B
Perl

%hash = ();
print %hash;
print "\n";
$hash{fruit} = apple;
$hash{sandwich} = hamburger;
$hash{drink} = bubbly;
print %hash;