my $string = "A"; my $command = '$string =~ s/A/B/'; eval $command; print $string; #B
In reply to Re: Passing a regex from a CGI HTML form
by trippledubs
in thread Passing a regex from a CGI HTML form
by Linicks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |