- or download this
my @ARRAY = split(/[\r\n]+/, $ENTIRE_FILE_CONTENT);
- or download this
use Tie::File;
tie my @array, 'Tie::File', filename or die "Cannot open 'filename' be
+cause: $!";
- or download this
for (my $i = 0; $i < @ARRAY; $i++)
...
print "\n$ARRAY[$i]";
}
- or download this
for my $i ( 0 .. $#ARRAY )
...
print "$ARRAY[$i]\n";
}