Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: read()

by alpha (Scribe)
on Mar 11, 2008 at 09:26 UTC ( #673435=note: print w/replies, xml ) Need Help??


in reply to Re^2: read()
in thread read()

This way you effectively pwn all of the chr(10) in your binary file... which is bad. The better "slurping" solution is to undef$/ and then using <>;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://673435]
help
Chatterbox?
[Corion]: Discipulus: As is great tradition, just build another level on it ;)
[Discipulus]: yes, bikers included. ;=)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-02-28 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (399 votes). Check out past polls.