Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: chomp() problems

by Flexx (Pilgrim)
on Sep 25, 2002 at 23:08 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://200764]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (1)
As of 2024-04-24 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found