in reply to Appending a single Scalar after a match
Um. This? $t =~ /^\s*(.*?)\s*$/g and $k .= $1
Though it puzzles me why you are using /g if you only want the first match?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Appending a single Scalar after a match
by SavannahLion (Pilgrim) on May 25, 2015 at 15:16 UTC |