Monks,

I’m trying to get Apache::ASP up and running on a web server.

I had several problems getting all the modules installed so the httpd would start, without causing fatal errors in the startup.pl script. The errors would print out the @INC being used, and indicate it could not find a required pm file amongst those.

Each time it printed this, the following entry was at the top of the @INC path:

/usr/local/webtools

So I finally got all those problems worked out, and the httpd now starts just fine with no errors in startup.pl.

But now when I try to access an index.asp page, the compile fails, printing out a different set of @INC values, without the above webtools directory, saying it can’t find a required pm file. But the pm file is located in the above webtools directory.

So what is up with this different @INC array? I know how to add values to the startup.pl, but how do I add these to this other @INC that this compile process is using?

Brent


In reply to multipe @INC arrays? by brent.allsop

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.