I don't understand why did you have this problem (what did you have in @INC?), but I think that this just works around the problem. It's better to go up to where $self->{inc} is getting set and not let invalid values in, so if you use $self->{inc} you won't have to workaround again.
I was finding it too difficult to trace. I've never seen it before, but in a fairly complex environment that I don't fully understand modperl_inc.pl had an entry like
use lib '';
I tried to figure out at which of the many stages it was added but I didn't see it, so I figured removing it at the last possible moment was best. feel free to track it down, though :)
Hmm, that's what I get for suggesting to fix the problem in the source :(. All I was saying is that move that check to where $self->{inc} is getting popullated, so you need to do it only once. I think there are only two places where it happens.
__________________________________________________________________ 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