Chris Knipe wrote:
Paolo Gianrossi wrote:

Could maybe a simple split(/\s+/ $Line, 7); work?

Almost, but we're not *quite* there yet...
...
I'm not sure why I am required to have 9 fields in the split to get the
values now...

It appears from your initial post as if there is a leading space before the zero value. If that's the case, your question is answered at the very first line of "perldoc -f split". If you exchange /\s+/ for ' ' you can skip that $tmp variable.

No need to use the LIMIT parameter, btw.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to