I am opening a file and storing it into a scalar, but to do all the testing I need, it has to be placed into an array where each line is it's own array element. What's wrong with this attempt at it?
Thanks everyone
open (FILE, "$original") or die "Error: $!";
my $lines = <FILE>;
my @array = split(/\n/, $lines);
close(FILE);