安装perl模块getopts.pl:
Can't locate getopts.pl in @INC (@INC contains:
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .)
at /path/to/a/perlscript.pl line XX.
解决办法,安装perl-Perl4-CoreLibs就行了:
$ sudo yum install perl-Perl4-CoreLibs
网友评论