Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Unknown characters

by rowdog (Curate)
on Feb 10, 2011 at 05:43 UTC ( #887342=note: print w/ replies, xml ) Need Help??


in reply to Unknown characters

I suspect you're running into the Internet Line Terminator aka \r\n. Try something like this.

{ local $/ = "\r\n"; chomp $msg; }

Better yet, check what that character actually is. \r = 13.

chomp $msg; print ord(reverse $msg), "\n";


Comment on Re: Unknown characters
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2015-07-05 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls