나의일 관련/Linux
[Perl 오류] "all" is not exported by the List::Util module
천연사이다
2019. 10. 17. 15:36
Perl 사용 시 ""all" is not exported by the List::Util module" 오류가 발생 할 경우는 "List::Util" Perl module 상위 버전을 설치해서 사용 한다.
[설치 과정]
$ wget https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-1.52.tar.gz $ tar xzf Scalar-List-Utils-1.52.tar.gz$ cd Scalar-List-Utils-1.52 $ perl Makefile.PL PREFIX=${HOME}/perl/5.10.1 $ make $ make install |
[사용을 위한 환경설정]
아래 내용을 .bashrc 와 같은 환경설정 파일에 내용을 추가 한다.
$ export PERL5LIB=${HOME}/perl/5.10.1/lib64/perl5:${PERL5LIB} |