in reply to Re^2: remove spaces after join operation
in thread remove spaces after join operation
Updated to simplify regex as suggested by hdbmy $txt = join ' ',@first_sentence; $txt =~ s/\s*([.()])\s*/$1/g; print $txt;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: remove spaces after join operation
by lakssreedhar (Acolyte) on Jul 27, 2013 at 04:38 UTC |