james786 has asked for the wisdom of the Perl Monks concerning the following question:
I developed an application in my final project using PERL. Now, I am trying to make it available online. I buy hosting for this. I installed multiple modules such as module named “String”. Then write simple lines of code:
#!/usr/bin/perl -w print "Content-type: text/html\r\n\r\n"; use strict; use warnings; use CGI ':standard'; use CGI::Carp 'fatalsToBrowser'; use String; print "done";
then it shows the error:
Can't locate String.pm in @INC (@INC contains: /usr/local/cpanel /usr +/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-6 +4int /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib /usr/ +local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.3/x86_64-linux-64int +/usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.3 /opt/cpanel/pe +rl5/514/site_lib/x86_64-linux-64int /opt/cpanel/perl5/514/site_lib .) + at index.cgi line 10. BEGIN failed--compilation aborted at index.cgi line 10.
Please help me what to do with this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl module installing at server
by kcott (Archbishop) on Aug 19, 2013 at 07:39 UTC | |
by james786 (Initiate) on Aug 19, 2013 at 09:43 UTC | |
by Anonymous Monk on Aug 19, 2013 at 10:17 UTC | |
|
Re: Perl module installing at server
by ww (Archbishop) on Aug 19, 2013 at 11:35 UTC | |
|
Re: Perl module installing at server
by Skeeve (Parson) on Aug 19, 2013 at 07:16 UTC | |
|
Re: Perl module installing at server
by locked_user sundialsvc4 (Abbot) on Aug 19, 2013 at 12:51 UTC | |
by chromatic (Archbishop) on Aug 19, 2013 at 17:52 UTC | |
|