Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 taking refuge in the Monastery: (8)
As of 2015-07-07 23:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls