Perl: the Markov chain saw | |
PerlMonks |
Re: Specific hash to array conversion queryby davidrw (Prior) |
on Jul 12, 2005 at 02:45 UTC ( [id://474154]=note: print w/replies, xml ) | Need Help?? |
Here's a map solution (note that you can't depend on the order that keys provides, so if order matters you'll have to put a sort or two in there; I also assumed that there was just 0 and 1 keys in there):
Also note that your %properties = { ... } needs to be %properties = ( ... )
In Section
Seekers of Perl Wisdom
|
|