Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Any downsides to this slurp idiom?

by BrowserUk (Pope)
on Jun 22, 2018 at 14:29 UTC ( #1217204=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $s; do{ local( @ARGV, $/)='big.file'; $s = <> };
    
  2. or download this
    my $s = do{ local( @ARGV, $/)='big.file'; <> };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1217204]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2021-10-24 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?