Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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.

Replies are listed 'Best First'.
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?
NodeReaper practices exenteration where nobody will notice

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2017-06-27 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (595 votes). Check out past polls.