|Do you know where your variables are?|
assigning to a hash via splitby aardvark (Pilgrim)
|on Feb 19, 2001 at 06:43 UTC||Need Help??|
aardvark has asked for the
wisdom of the Perl Monks concerning the following question:
Happy Sunday Everybody,
Is there a way to assign to a hash via split?
Here's what I've got so far:
Does anybody know of a better way to do this?
Specifically, is there a way to assign to %rec during the split?
Then, if I add another field all I have to do is add it to @fields.
I really want less typing (Laziness, Impatience) so I can have more time to work on my Hubris. ;-)
Get Strong Together!!