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

Re: Transforming "\r\n" to '\012\015'

by RichardK (Parson)
on Sep 20, 2015 at 22:14 UTC ( [id://1142584]=note: print w/replies, xml ) Need Help??


in reply to Transforming "\r\n" to '\012\015'

I'm not sure where you're going with this, but printf (see sprintf for full details) will output octal, if that's any help?

perl -E 'printf("%#o\n",ord($_)) for split("","\r\n");' 015 012

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-26 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found