Of course there are issues with this, depending on where you're getting the values for $var1 and $var2, they could contain potentially nasty commands that would be run in the eval. See perlsec.
--
perl -p -e "s/(?:\w);([st])/'\$1/mg"
In reply to Re: auto-escaping??
by belg4mit
in thread auto-escaping??
by goonfest
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |