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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
