On 2012-05-25 22:51, Christopher Gray wrote:

I have a text file containing records.  While I can extract single
sub-strings, I cannot extract multiple sub-strings.

Try split, see perldoc -f split.

    while ( my $line= <$fh_in> ) {

        my @data= split ' ', $line;

        ....;
    }

--
Ruud


--
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