{ open my $fh, ... local $/; # do whatever with $fh here }