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

Re: remove spaces after join operation

by Loops (Curate)
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 scrutinizing the Monastery: (11)
As of 2014-11-28 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls