Don't ask to ask, just ask | |
PerlMonks |
Re: Appending a single Scalar after a matchby BrowserUk (Patriarch) |
on May 25, 2015 at 09:05 UTC ( [id://1127662]=note: print w/replies, xml ) | Need Help?? |
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? With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked
In Section
Seekers of Perl Wisdom
|
|