SriniK has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I have installed the "Sys::RunALone" module manually (downloaded and install). And cpan says "Sys::RunAlone is up to date (0.12).".
running my code show error "Can't locate Sys/RunALone.pm in @INC"
Error
root@us-lamp-prd-l-grt-web:~# perl -MCPAN -e 'install Sys::RunAlone' CPAN: Storable loaded ok (v2.39) Going to read '/root/.cpan/Metadata' Database was generated on Fri, 06 Sep 2013 09:17:02 GMT Sys::RunAlone is up to date (0.12). root@us-lamp-prd-l-grt-web:~# perl test.pl Can't locate Sys/RunALone.pm in @INC (@INC contains: /etc/perl /usr/lo +cal/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/ +share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/si +te_perl .) at test.pl line 3. BEGIN failed--compilation aborted at test.pl line 3.
and my script is
#!/usr/bin/perl use Sys::RunALone; print "Srini"; __END__
Please hrlp me on this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Module install help
by Corion (Patriarch) on Sep 06, 2013 at 09:57 UTC | |
|
Re: Perl Module install help
by space_monk (Chaplain) on Sep 06, 2013 at 09:57 UTC | |
|
Re: Perl Module install help
by Khen1950fx (Canon) on Sep 06, 2013 at 15:18 UTC |