Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: chomp() problems

by Flexx (Pilgrim)
on Sep 25, 2002 at 23:08 UTC ( #200764=note: print w/replies, xml ) Need Help??


in reply to Re: Re: chomp() problems
in thread chomp() problems

Yup. Some like it hex... ;)

Update: Actually, what you wrote is EBCDIC compatible. It'll substitute DOS CRLF's on any system, be it an ASCII or an EBCDIC one. You're using discrete ordinals (hexadecimal ones, in your case) instead of the infamous logical symbols \r\n, and that's what makes your statement portable.

So long,
Flexx

PS: Someone downvoted this node (it's -1 by the time of this writing). Why? What did I do wrong here?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2021-02-27 00:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?