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


in reply to Re: slurping __DATA__
in thread slurping __DATA__

Thanks!

I did read perldoc perlvar but I didnt know that local $/; was undef-ing it for the do's block context. I'll have to go brush up on local, 'cause I never use it.