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.
In reply to I need to install PERL MODULE first and then use it in the same SCRIPT. Is it possible by rahulruns
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |