in reply to Re^2: Hash Curious
in thread Hash Curious
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
|
|---|