in reply to Re: Extracting selected fields form file record (updated)
in thread Extracting selected fields form file record
Thanks everyone. Using ' ' is working as I need on records from an ASCII file.
And I'm going to load the records with File::Slurp, so I don't care of chomp:
And I'm going to load the records with File::Slurp, so I don't care of chomp:
use File::Slurp qw(read_file); my @lines = read_file('/path/file',chomp=>1);
In Section
Seekers of Perl Wisdom