in reply to multipe @INC arrays?

Check %INC, I guess. That should list everything that's been 'do'-ed, 'require'-ed, or 'use'-ed up to that point.

One of those may be stomping your @INC, I don't know.


Mike

Replies are listed 'Best First'.
Re^2: multipe @INC arrays?
by brent.allsop (Acolyte) on Sep 02, 2007 at 03:29 UTC
    Mike,

    This doesn’t look right,

    when I do a

    use Carp qw(cluck); cluck "This is how we got here!";

    in an asp page that doesn’t need any pm files:

    It is clearly not being called from the startup.pl script that has the use lib '/usr/local/webtools'; statement in it that gets executed when apache starts up right?

    At the top of the stack there is just some:

    eval {...} called at -e line 0

    So how do you add a file to the @INC for those?

    Surely you don’t have to add something like this

    use lib '/usr/local/webtools';

    in every asp file?

    Brent Allsop

      Never mind!!

      Sorry, stupid mistake. It was in the @INC, just a few lines down. I must be blind. The pm file, in this case, was just missing.

      Thanks for all the help. And sorry!