Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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.


Comment on (chromatic) RE: RE: Load file into a scalar without File::Slurp
Download Code

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 romping around the Monastery: (17)
As of 2014-09-17 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (82 votes), past polls