Don't ask to ask, just ask | |
PerlMonks |
Re: assigning to a hash via splitby japhy (Canon) |
on Feb 19, 2001 at 06:49 UTC ( [id://59330]=note: print w/replies, xml ) | Need Help?? |
Sure. Here's some short code for you:
I basically create the hash reference and assign to it all at once. update: down with temporary variables, up with one-liners.
japhy -- Perl and Regex Hacker
In Section
Seekers of Perl Wisdom
|
|