Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Perl adding non printable characters in the return value

by cdarke (Prior)
on Nov 28, 2011 at 13:18 UTC ( #940400=note: print w/replies, xml ) Need Help??

in reply to Perl adding non printable characters in the return value

...and a Perl subroutine is defined with sub, but maybe your code is just a typo (looks like old ksh syntax).
Anyway, one possibility might be that in one place you put the string inside quotes (interpolation) and the class is overloading stringification (see overload). You don't show that, but then again this obviously is not the whole code anyway.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940400]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2017-02-27 22:10 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (393 votes). Check out past polls.