Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Replacing whitespaces with a regex

by choroba (Canon)
on Mar 04, 2013 at 09:54 UTC ( #1021621=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $words =~ s/\s\s+$/ /;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-03-04 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (130 votes), past polls