Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: remove spaces after join operation

by Loops (Hermit)
on Jul 26, 2013 at 11:17 UTC ( #1046486=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print join(' ',@first_sentence) =~ s/\s*([.()])\s*/$1/gr;
    
  2. or download this
    i am 2(but).how
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-07-30 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls