Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Chomp is removing the whole word instead of the newline

by Anonymous Monk
on Jul 25, 2012 at 09:41 UTC ( [id://983594]=note: print w/replies, xml ) Need Help??


in reply to Chomp is removing the whole word instead of the newline

I am facing issues with perl chomp function ... Could you help me understand what am i doing wrong here.

Well, for some reason, you're not copying the example from the chomp documentation

  • Comment on Re: Chomp is removing the whole word instead of the newline

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found