Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Redefining chomp()

by Roy Johnson (Monsignor)
on Mar 24, 2004 at 18:48 UTC ( #339509=note: print w/replies, xml ) Need Help??


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

I have trouble understanding how this will remove multiple newlines as you say. Am I missing something?
If the trailing /g on an anchored s///g actually had some effect, maybe it would strip off all trailing newlines. But as it is, it doesn't.

The PerlMonk tr/// Advocate

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2019-07-16 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?