Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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.


Comment on Re: Perl adding non printable characters in the return value
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (14)
As of 2014-09-17 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (85 votes), past polls