No such thing as a small change | |
PerlMonks |
Re: Perl inline replace with execution resultsby sk (Curate) |
on Oct 23, 2005 at 05:39 UTC ( [id://502294]=note: print w/replies, xml ) | Need Help?? |
Remove the \ before $1 and you need /e If you run it without /e you will notice the string becomes `printhi`. Now you want to eval this expression and the /e takes care of that. This works for me
my printhi program is
output
In Section
Seekers of Perl Wisdom
|
|