http://www.perlmonks.org?node_id=1167982


in reply to Missing Modules

Is the cgi program using the same perl as your shell test?

Neil Watson
watson-wilson.ca

Replies are listed 'Best First'.
Re^2: Missing Modules
by jjeff007 (Initiate) on Jul 18, 2016 at 15:46 UTC

    I specify the interpreter in the cgi script It should be all the same

    [root@XXXX perl5]# which perl /usr/bin/perl [root@XXXX perl5]# head /var/www/cgi-bin/iprs/cips.cgi #!/usr/bin/perl -w use LWP::UserAgent; use Data::Dumper; use JSON::XS;