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