I've tried Goggling for this, but it pulls in too much noise
Is there a way I can pass CGI form data such as 's/xxx/yyy/g' and asign it a variable such as 'my $regex = $request{'reg'};' and then later use something like:
if ($regex) { $line =~ $regex; }
which expands the variable?
Thanks, Nick
In reply to Passing a regex from a CGI HTML form by Linicks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |