![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Is this a correct way of obtaining input from a file?by physgreg (Scribe) |
on Aug 06, 2002 at 20:55 UTC ( #188157=note: print w/replies, xml ) | Need Help?? |
I would replace your first snippet with
This will give you an array with the correct values. If you want to assign it to a variable, then do: I haven't tested this, but it should be ok!
In Section
Seekers of Perl Wisdom
|
|