Okay, I know this is going to sound insane...

We have a TON of customers using a mason-based app under mod_perl.  Two out
of the hundreds are both running into a situation where when a subcomponent
is referenced and that subcomponent has a once block that needs to do a
"use" of something that has not previously been loaded, it cannot FIND that
library.  And the stack trace that comes out is MISSING the folders we have
added to the INC seach path (via "use lib" in our custom Mason mod_perl
handler module).

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?

Oh - one other thing.  The subcomponent in question is being referenced
using a relative path - e.g.

<& "../lib/component", %ARGS &>

or whatever.  It seems to find ../lib/component, but compilation of
../lib/component fails because it does NOT find various perl modules that
are "use"d from the component's <%once%> block.

Help?

----------------
Now playing: Dido - The Day Before The
Day<http://www.foxytunes.com/artist/dido/track/the+day+before+the+day>
posted with FoxyTunes <http://www.foxytunes.com/signatunes/>

-- 
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