{ local(*INPUT, $/); open (INPUT, $file) || die "can't open $file: $!"; $var = ; } # $/ is set back to it's original value here.