Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Chomp not working

by codiac (Beadle)
on Sep 29, 2014 at 01:03 UTC ( #1102306=note: print w/replies, xml ) Need Help??


in reply to Chomp not working

If you want to remove leading and trailing white space, that is trim. https://metacpan.org/pod/String::Util#trim-string

If you want to trim and flatten internal white space, that is crunch. https://metacpan.org/pod/String::Util#crunch-string

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2023-10-03 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?