Chris Devers [CD], on Wednesday, June 22, 2005 at 17:53 (-0400 (EDT))
wrote the following:

CD>   my $fields = split( /\s+/, $record );
CD>   my $fourth = $fields[3];
CD> This problem doesn't require any looping! :-)

I, know, thats just example.

I read whole the message, in original was:
"I want to read in one record at a time, that has space-delimited
fields."

Also I think, author will need 2-nd, and n-th "word", so maybe he
found my example useful. Also perl is about
"not only 1 way is correct:)"...but we know that.

-- 

How do you protect mail on web? I use http://www.2pu.net

[Wish to our future on a far away star.]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to