in reply to Re^3: search and replace regex return value
in thread search and replace regex return value
> Workaround is simple my $target = $CFG{target} ;
Might not be enough in order to loose special flags.
I'd cast explicitly to get a new value
my $target = "" . $CFG{target} ;
Unfortunately I can't test at the moment.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: search and replace regex return value
by haukex (Archbishop) on May 07, 2017 at 17:00 UTC |