http://www.perlmonks.org?node_id=1218173


in reply to Re: Any downsides to this slurp idiom? (updated)
in thread Any downsides to this slurp idiom?

Note that localizing @ARGV could be not enough (because eof(ARGV) might remain true). So,
my $data = do { local ( *ARGV, $/ ); @ARGV = ("$file"); <> };

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,