Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Need help with Piping

by jasonk (Parson)
on Aug 14, 2008 at 01:07 UTC ( [id://704271]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Need help with Piping
in thread Need help with Piping

You can do all of that in one line...

my $var = do { local $/ ; <> };

www.jasonkohles.com
We're not surrounded, we're in a target-rich environment!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-26 05:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found