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?
In reply to Re: Appending a single Scalar after a match
by BrowserUk
in thread Appending a single Scalar after a match
by SavannahLion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |