Are you *positive* the match succeeds? I'm not. Throw an if clause in there:
my $realm; if ($ENV{SCRIPT_FILENAME} =~ m!${docroot}(.*?)/!) { $realm = $1; } else { print "Realm ($realm) is really wrong.\n"; }
In reply to Re: Weird un-tainting problem.
by chromatic
in thread Weird un-tainting problem.
by ChakaMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |