Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: binmode and one-liners

by Anonymous Monk
on Jun 30, 2007 at 11:00 UTC ( [id://624186]=note: print w/replies, xml ) Need Help??


in reply to binmode and one-liners

perl -Mopen=IN,:bytes

Replies are listed 'Best First'.
Re^2: binmode and one-liners
by BrowserUk (Patriarch) on Jun 30, 2007 at 11:09 UTC

    Thankyou Anonymonk. That's perfect. I've never even noticed the open pragma before.

    I'm assuming that *ARGV is always opened using a 2-arg open rather than a 3-arg that wouldn't be affected.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      Yes, that magic hasn't changed

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (9)
As of 2024-04-18 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found