brwarn has asked for the wisdom of the Perl Monks concerning the following question:
example output:$strvar = "test text"; $pattern = "\$strvar =~ s/(text)/\\[tag]$1\[/tag]/ig"; eval $pattern;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Eval Function Question
by Fletch (Bishop) on Nov 04, 2009 at 20:07 UTC | |
by brwarn (Novice) on Nov 04, 2009 at 20:28 UTC | |
by Your Mother (Archbishop) on Nov 04, 2009 at 20:40 UTC | |
|
Re: Eval Function Question
by keszler (Priest) on Nov 04, 2009 at 20:06 UTC | |
|
Re: Eval Function Question
by ikegami (Patriarch) on Nov 04, 2009 at 20:53 UTC | |
by brwarn (Novice) on Nov 04, 2009 at 21:46 UTC | |
by Your Mother (Archbishop) on Nov 04, 2009 at 22:35 UTC | |
by ikegami (Patriarch) on Nov 06, 2009 at 21:44 UTC |