> But when I print all the values of @INC in mod-perl
> through browser ,I see duplicate entries for my
> directory.But under CGI, I don't see any
>
> What might be the reason?

I can think of two possibilities.  First, you might be adding
/usr/local/apache/lib/perl (or where ever your Apache lives + /lib/perl) to
@INC, which mod_perl does automatically.  Second, your startup.pl may be
running twice because Apache runs the config file twice on startup.  Stas
posted a message a few days ago about seeing files pulled in from
PerlModule/PerlRequire commands running twice on startup, even though they
probably shouldn't.  See
http://forum.swarthmore.edu/epigone/modperl/crachoupro/Pine.LNX.4.30.0102231
[EMAIL PROTECTED] for more info and a workaround.

- Perrin

Reply via email to