Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: shell vs. filehandler

by belden (Friar)
on Feb 11, 2005 at 21:27 UTC ( [id://430288]=note: print w/replies, xml ) Need Help??


in reply to Re: shell vs. filehandler
in thread shell vs. filehandler

Or use IO::All, which wraps File::Slurp.

#!/usr/bin/perl use IO::All; my $slurp = io->( $path )->slurp(); # slurp a file my $stdin = io->( '-' )->slurp(); # slurp STDIN

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-24 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found