$/ = undef; my $string = <$filehandle>;