Hello Monks, I've been having some issues with loading modules with Apache:ASP on my main webserver. At home on my local machine everything runs fine without any issues, but when I publish the application to my main webserver (its built very similar to the local home server) the PERL/ASP (Apache::ASP) pages cannot seem to pick up the module no matter where I put it.

[Mon May 03 13:35:10 2010] [error] [asp] [27545] [error] Can't locate object method "process_information" via package "MessageP +rocessor" at /var/www/html/InformationProcess/header.asp line 168. <- +-> , /usr/lib/perl5/site_perl/5.8.8/Apache/ASP.p + m line 1521

I've tried just about everything to get this to work, I have the proper "use Messageprocessor" and the right path for perl to find it. But for some reason the module isnt "being found". At one point I started adding all "MessageProcessors" dependants (other custom modules) to my use, so "use MessageProcessors" and "use MessageProcessorsChild" and at that point I get a strict error saying I've declared a function twice. (Although I have not, so that leads me to believe that the module is being imported but not "used").

I've been beating my head against the wall all week with this issue, please post if you can shed some light on what my issue might be. Thanks!


In reply to Module Issues / Apache::ASP by Trihedralguy

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.