{ local $/; $/ .= $_ while ; } #### { local $/; ## This is already undef, no need to set it ## Read in the file, etc... } ## $/ is now back where it was