Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Selecting particular key-value pairs in hashesby Aristotle (Chancellor) |
on Sep 18, 2004 at 20:34 UTC ( [id://392041]=note: print w/replies, xml ) | Need Help?? |
You can pick more than one value at a time out of a hash — see merlyn's code and gaal's remark.
Update: thanks to bobf for notifying me that this code makes, uh, very little sense. Here's a hash slice incantation that actually works:
Makeshifts last the longest.
In Section
Seekers of Perl Wisdom
|
|