NB: there is a new feature %Hash{SLICE} to return "Multiple pairs"
DB<49> @H{a..d}=1..4 DB<50> x %H{d,b} 0 'd' 1 4 2 'b' 3 2 DB<51> x @H{d,b} 0 4 1 2 DB<52>
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^3: Hash Curious
by LanX
in thread Hash Curious
by cadphile
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |