Perl script not running on pumanew

We have a script that has been running on puma for several years. The script was written in perl - I did not write the script so am not sure how to debug it.

Since moving to pumanew the script has stopped working. The line in the script it doesn’t like is:

use Switch;

The error message is:

Can’t locate in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./ line 14.
BEGIN failed–compilation aborted at ./ line 14.

The script is /home/earjcti/

Can you help?

PS Others in my research group also use this script so any help would be much appreciated.

Hi Julia,

Our sys admin is currently away, so we can’t fix the central installation at the moment.

As a temporary measure I have installed in my home directory.
If you:
export PERL5LIB=/home/ros/perl_modules/lib/perl5:$PERL5LIB
before running your script I think that should work.

Let me know how that goes.
Once Andy is back I will ask him to install the module centrally.


Thanks Ros, that all works great!

I am just following up on this message from last year.
I am still using the temporary measure suggested to use, and it still works fine. However just wondering whether there are still plans to install the module more centrally.
Many thanks