Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

(chromatic) RE: RE: Load file into a scalar without File::Slurp

by chromatic (Archbishop)
on Jul 17, 2000 at 08:09 UTC ( #22819=note: print w/ replies, xml ) Need Help??


in reply to RE: Load file into a scalar without File::Slurp
in thread Load file into a scalar without File::Slurp

Here's a shorter version of that. I feel dirty:
{ local $/ = <STDIN>; }
Note to anyone who has to look at $/ to understand this -- do not use this code. It's a seriously ugly thing.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2016-07-30 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (265 votes). Check out past polls.