use File::Slurp; my $data = read_file $filename; [download]
In reply to Re: slurping into scalars by Juerd in thread slurping into scalars by Anonymous Monk