There's more than one way to do things | |
PerlMonks |
Re: Loop will not save into the arrayby Roger (Parson) |
on Aug 17, 2005 at 11:21 UTC ( [id://484365]=note: print w/replies, xml ) | Need Help?? |
I fancy that converting your code from
to will do the trick. The reason being that if you have more than one white spaces, say, n, the split will generate n-1 undef's in the array, thus the warning. Well, I would probably rewrite this using regular expression:
In Section
Seekers of Perl Wisdom
|
|