in reply to RE: RE: A splitting questionin thread A splitting question
my @myfile = <File>; my $lines = @myfile; [download]
undef $/; # enable "slurp" mode $_ = <FH>; # whole file now here [download]