Mega Code Archive
Categories
/
Perl
/
Hash
Create hash with = operator
%hash = ( fruit => apple, sandwich => hamburger, drink => bubbly, ); print "$hash{fruit}\n";