my $whole_file; { local($/) = undef; $whole_file = ; # <> operator reads in all of the data from filehandle F }