The situation I am in is that I have written a perl script which uses the CPAN library XML::Simple and tested in an environment which has the ability to install the necessary CPAN library.
However the environment which the script must be run in does not have the permissions to install CPAN libraries. I was wondering if there is some manual way to include the Simple.pm file with my script and include it in the directory with the script? I have tried using ‘use’ and ‘require’ to no avail.
Any help is greatly appreciated.
edit: I was able to solve the problem by manually downloading the Simple.pm file and using the line require “Simple.pm”; in my code. I think I must have downloaded the incorrect file somehow when I tried this orginally. Thanks.
I was able to solve the problem by manually downloading the Simple.pm file and using the line require “Simple.pm”; in my code. I think I must have downloaded the incorrect file somehow when I tried this orginally.