Posted on 2009/02/26 09:17
Filed Under 리눅스기술문서/팁앤테크 조회수:

perl 의 다양한 모듈을 쉽게 찾아 설치하는 방법 두 가지

1.  의 검색창에서 직접 찾는다.

2. CPAN 이용방법
# perl -MCPAN -e shell

            처음 이용할 경우 다음과 같은 기본 설정 단계가 나온다.
            /usr/lib/perl5/5.8.0/CPAN/ initialized.
            CPAN is the world-wide archive of perl resources. It consists of about
            100 sites that all replicate the same contents all around the globe.
            Many countries have at least one CPAN site already. The resources
            found on CPAN are easily accessible with the module. If you
            want to use, you have to configure it properly.
            If you do not want to enter a dialog now, you can answer 'no' to this
            question and I'll try to autoconfigure. (Note: you can revisit this
            dialog anytime later by typing 'o conf init' at the cpan prompt.)
            Are you ready for manual configuration? [yes]  -> yes
            The following questions are intended to help you with the
            configuration. The CPAN module needs a directory of its own to cache
            important index files and maybe keep a temporary mirror of CPAN files.
            This may be a site-wide directory or a personal directory.
            First of all, I'd like to create this directory. Where?
            CPAN build and cache directory? [/root/.cpan]
                기본 내용으로 설정한다.
                cpan shell -- CPAN exploration and modules installation (v1.61)
                ReadLine support available (try 'install Bundle::CPAN')
            cpan> install Time::Period
            cpan> install Time::HiRes
            cpan> install Convert::BER
            cpan> install Mon::Client
            cpan> install Mon::Protocol
            cpan> install Mon::SNMP
Writer profile
author image
-아랑 -

트랙백 주소 : 이 글에는 트랙백을 보낼 수 없습니다


by 서진우


· Total
: 4885568
· Today
: 465
· Yesterday
: 780