programming-examples/perl/Hash/Create hash with arrow operator.pl
2019-11-15 12:59:38 +01:00

6 lines
118 B
Perl

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