I believe that if effect is not in sync with the order of occurrence, it can create confusions. Probably, one possible solution ( and probably the simplest one ) is to populate %ENV before any <Perl>..</Perl> block.
You mean, leave things as they are, but just enforce populating %ENV before any <Perl>..</Perl> block. What about PerlModule/PerlRequire? Shouldn't it be the same?
I'd be interested in writing the patch for this if required. But it will be really great to have this issue sorted out. Becaue without it, we will not be able to upgrade to mp2 :(
We hear your pains, Pratik and would love get it fixed before 2.0.0 is out. Patches are always welcome, but personally I prefer to spec things out before spending any time on coding. But if you think that it'll resolve your problem, then just go ahead and do it. But please also add appropriate tests, so this feature is tested. Thanks.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]