Monks, Our server was upgraded yesterday and a new version of Perl (5.30) was installed. We previously had 5.22. We were calling Ajax like this:
use CGI::Ajax;
After the upgrade we received this error:
Can't locate CGI/Ajax.pm in @INC (you may need to install the CGI::Aja +x module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/p +erl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/per +l5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/sha +re/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl- +base) at log.pl line 31.
It seems like Ajax is not a default module in 5.30 so it was not automatically installed, but the server company installed the Ajax module for us. The site was still broken so they reverted the server back to 5.22 until we can resolve this. Is there a big difference in Ajax in the new version of Perl or could something else be at issue? I know that's a vague question but when the server gurus couldn't figure it out it left us at a loss. Thanks!

In reply to Calling Ajax by htmanning

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.