rahulruns has asked for the wisdom of the Perl Monks concerning the following question:
The code I am using is
if (eval {require Term::Menus;1;} ne 1) { print "INSTALLING PERL Term::Menus MODULE\n\n"; system("/opt/hp/hadooptools/validation/smoke/cpan.sh Term::Men +us"); } use Term::Menus; Error Can't locate Term/Menus.pm in @INC (@INC contains: /usr/local/lib64/pe +rl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/pe +rl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at check.pl line + 14. BEGIN failed--compilation aborted at check.pl line 14.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: I need to install PERL MODULE first and then use it in the same SCRIPT. Is it possible
by tobyink (Canon) on Nov 29, 2012 at 08:32 UTC | |
by rahulruns (Scribe) on Nov 29, 2012 at 09:06 UTC | |
|
Re: I need to install PERL MODULE first and then use it in the same SCRIPT. Is it possible
by CountZero (Bishop) on Nov 30, 2012 at 07:18 UTC |