in reply to Reading file contents into an array

Don't forget my favorite way to read text files Tie::File.
use Tie::File; my @file; tie @file, 'Tie::File, 'path/to/file';


jjdraco
learning Perl one statement at a time.