Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Answer: How do I read an entire file into a string?

by bmann (Priest)
on Aug 18, 2004 at 20:17 UTC ( #384095=note: print w/ replies, xml ) Need Help??


in reply to Re: Answer: How do I read an entire file into a string?
in thread files

It is worth noting that File::Slurp does NOT support binmode

Are you sure? From the pod:

If you set the binmode option, then the file will be slurped in binary + mode. my $bin_data = read_file( $bin_file, binmode => ':raw' ) ;


Comment on Re^2: Answer: How do I read an entire file into a string?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2014-04-17 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (437 votes), past polls