Don't ask to ask, just ask | |
PerlMonks |
Re^2: Bulk hash population orderby jbert (Priest) |
on Nov 27, 2007 at 14:30 UTC ( [id://653246]=note: print w/replies, xml ) | Need Help?? |
Yes, a hash slice (or a loop) is the way to go, imho.
Assuming you have the new values you want in %newbits: or Note that keys and values use the same order, so the above works.
In Section
Seekers of Perl Wisdom
|
|