Welcome to the Monastery | |
PerlMonks |
Re: setting hash keys by arrayby Chmrr (Vicar) |
on Sep 10, 2002 at 01:45 UTC ( [id://196502]=note: print w/replies, xml ) | Need Help?? |
See Re: descending a tree of hash references for a discussion of the same problem. Most of the solutions in this thread are handy, but sometimes it's useful to be able to wrap it into a subroutine. perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
In Section
Seekers of Perl Wisdom
|
|