How to make good use of CPAN

Source: Internet
Author: User
1. Check the Perl version: Perl-V, Perl-version, Perl-V2, What Is CPAN: CPAN is the abbreviation of comprehensive Perl archive network, this includes a large number of Perl modules, software, and documents. You can find CPAN from the following places: http://www.cpan.org or runtime. Note that CPAN is also a Perl Module name, CPAN. PM is a tool used to automatically download and install the Perl module. This document only contains a small amount of information about CPAN. for more information about PM, visit http://theoryx5.uwinnipeg.ca/cpan/perl/cpan.html. Domestic image address: (1) ftp://mirror.communilink.net/CPAN/ (2) ftp://mirrors.sohu.com/CPAN/ (3) ftp://mirrors.xmu.edu.cn/CPAN/ (4) http://cpan.wenzk.com/(5) http://mirror.osqdu.org/CPAN/ (6) http://mirrors.163.com/cpan/ 3. initialize CPAN: perl-mcpan-e shell4. Check the initialization information: CPAN-> O conf5, reconfigure CPAN: CPAN> O conf init6, and use CPAN to query the Perl module in CPAN: CPAN> D/bioperl/7. Check the modules installed in Perl: perldoc perllocal8 and CPAN to install XML: simple module: CPAN> install XML: simple. If you have installed the latest version, the following message is displayed: XML: simple is up to date.

9. Check whether the Perl module is available:

Perl-e 'use module'

 

Refer:

Http://hi.baidu.com/software_one/blog/item/5d4ebf9b927a7d1e6e068c9a.html

Http://hi.baidu.com/libinichen/blog/item/4e62192367828d4d93580774.html

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.