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);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Extracting selected fields form file record (don't use File::Slurp)
by eyepopslikeamosquito (Archbishop) on Feb 08, 2022 at 11:40 UTC | |
by haukex (Archbishop) on Feb 08, 2022 at 12:25 UTC | |
by choroba (Cardinal) on Feb 08, 2022 at 13:07 UTC |
In Section
Seekers of Perl Wisdom