programming-examples/perl/Hash/Create hash without using the quotation marks.pl

8 lines
119 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
%hash = (
fruit , apple,
sandwich , hamburger,
drink , bubbly,
);
print "$hash{fruit}\n";