in reply to What is wrong here (Replacing Strin pieces)
$string =~ s/\A(-+)|(-+)$/("?" x length $1).("?" x length $2)/eg;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What is wrong here (Replacing Strin pieces)
by AnomalousMonk (Archbishop) on Jul 16, 2013 at 16:23 UTC |