yegg has asked for the wisdom of the Perl Monks concerning the following question:
This script is running under FCGI::Engine and uses Module::Refresh. After experimentation and speaking with the maintainer of FCGI::Engine, I don't think it is those modules at fault, though I am not sure. In particular when started and after a refresh, everything works fine.
After some point (not sure what triggers it), some regular experessions in the script fail to evaluate correctly. For example a
$test =~ /$test2/ when both variables are simple strings and the same strings will not evaluate to true. It's as if they become tainted.
Any ideas?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Normal regexes stop working
by Corion (Patriarch) on Oct 24, 2010 at 16:39 UTC | |
|
Re: Normal regexes stop working
by jethro (Monsignor) on Oct 24, 2010 at 18:27 UTC | |
by yegg (Acolyte) on Oct 24, 2010 at 20:58 UTC | |
by yegg (Acolyte) on Oct 24, 2010 at 22:39 UTC | |
|
Re: Normal regexes stop working
by JavaFan (Canon) on Oct 24, 2010 at 17:02 UTC | |
by yegg (Acolyte) on Oct 24, 2010 at 17:04 UTC | |
by JavaFan (Canon) on Oct 24, 2010 at 17:12 UTC | |
by yegg (Acolyte) on Oct 24, 2010 at 17:15 UTC | |
by Anonymous Monk on Oct 24, 2010 at 17:26 UTC | |
| |
by JavaFan (Canon) on Oct 24, 2010 at 17:44 UTC | |
| |
by yegg (Acolyte) on Oct 24, 2010 at 17:10 UTC | |
by Corion (Patriarch) on Oct 24, 2010 at 18:58 UTC | |
|
Re: Normal regexes stop working
by Anonymous Monk on Oct 24, 2010 at 17:12 UTC | |
by yegg (Acolyte) on Oct 24, 2010 at 17:14 UTC | |
|
Re: Normal regexes stop working
by aquarium (Curate) on Oct 24, 2010 at 22:36 UTC | |
by yegg (Acolyte) on Oct 24, 2010 at 22:39 UTC | |
by perl-diddler (Chaplain) on Oct 24, 2010 at 23:41 UTC |