Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: Trash in my prints

by DrHyde (Prior)
on Aug 22, 2011 at 12:57 UTC ( #921642=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Trash in my prints
in thread Trash in my prints

Really? *My* perl doesn't go adding nonsense onto the end of my print()s unless I tell it to:

$ perl -e 'print "foo"'|hexdump -C 00000000 66 6f 6f ... |foo| 00000003
binmode() makes no difference.


Comment on Re^4: Trash in my prints
Select or Download Code
Re^5: Trash in my prints
by Anonymous Monk on Aug 22, 2011 at 13:10 UTC

      I was responding to "print() in mod_perl adds a trailing newline. Try using binmode with the filehandle".

      The only revision I'll make is to add "if that's true, then ..." at the beginning.

        I was responding to "print() in mod_perl adds a trailing newline. Try using binmode with the filehandle".

        Yes, you were responding to nonsense

        The only revision I'll make is to add "if that's true, then ..." at the beginning.

        Classy

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-08-22 03:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (146 votes), past polls