I have included some details of a stack trace in another message.  Our
custom handler adds items to the @INC list via "use lib".  An example would
be:

BEGIN {
        require "/var/www/html/atm/config.pl";
        use lib "/var/www/html/atm";
        use lib "/var/www/html/atm/lib";
        use lib "/var/www/html/atm/suites/derived";
}

And here is the compilation error that we got as part of the mason error:

Can't locate Report.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .
/etc/httpd) at /var/www/html/atm/lib/reportMenu line 167.


As you can see, those directories are not in the @INC array that perl is
reporting to us.

On Tue, Dec 2, 2008 at 4:07 PM, Hans Dieter Pearcey <
[EMAIL PROTECTED]> wrote:

> On Tue, Dec 02, 2008 at 03:54:19PM -0600, Shane McCarron wrote:
> > So.... is it possible that subcomponents do not inherit the INC list from
> their
> > parent in some situations?  Or is it possible that a subcomponent does
> another
> > request via some route that avoids our custom handler?
>
> Definitely not, to the first question.  @INC is a global variable, so
> there's
> no "inherit" to do.
>
> What's your @INC, and where in it are the modules that aren't being found?
>
> hdp.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Mason-users mailing list
> Mason-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mason-users
>



-- 
Shane McCarron
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to