Chinaunix首页 | 论坛 | 博客
  • 博客访问: 630686
  • 博文数量: 184
  • 博客积分: 10057
  • 博客等级: 上将
  • 技术积分: 2505
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-31 16:34
文章分类

全部博文(184)

文章存档

2010年(5)

2009年(104)

2008年(75)

我的朋友

分类:

2009-02-12 22:15:39

  • perldoc perllocal

    Each time a module is installed on your system, it appends information like the following to a file called perllocal.pod which can be found in /usr/local/lib/perl5/version number/architecture/ or something akin to that. The path for your specific installation is in your @INC which you can divine with perl -V.

    =head2 Wed May 12 13:42:53 1999: C L
    
    =over 4
    
    =item *
    
    C
    
    =item *
    
    C
    
    =item *
    
    C
    
    =item *
    
    C
    
    =back
    
    Each entry includes the Module name, date and time it was installed, where it was installed, linktype [ static or dynamic ], version and executables, if any, included with the module.

  • ActivePerl has the PPM utility.
    C:\>ppm query
    Archive-Tar   [0.072 ] module for manipulation of tar archives.
    Compress-Zlib [1.03  ] Interface to zlib compression library
    DBI           [1.13  ] Database independent interface for Perl
    GD            [1.25  ] Interface to Gd Graphics Library
    HTML-Parser   [2.23  ] SGML parser class
    MIME-Base64   [2.11  ] Encoding and decoding of base64 strings
    PPM           [1.1.4 ] Perl Package Manager: locate, install, upgrade software
    

  • The pmtools suite written by Tom Christiansen to help navigate and manage Perl module installations. You can obtain them at . From the README:
    This is pmtools -- a suite of small programs to help manage modules.
    The names are totally preliminary, and in fact, so is the code.  We follow
    the "keep it small" notion of many tiny tools each doing one thing well,
    eschewing giant megatools with millions of options.
    
    • pmpath - show the module's full path
    • pmvers - get a module version number
    • pmdesc - get a module description
    • pmall - get all installed modules pmdesc descriptions
    • pmdirs - print the perl module path, newline separated
    • plxload - show what files a given program loads at compile time
    • pmload - show what files a given module loads at compile time
    • pmexp - show a module's exports
    • pminst - find what's installed
    • pmeth - list a class's methods, recursively
    • pmls - long list the module path
    • pmcat - cat the module source through your pager
    • pman - show the module's pod docs
    • pmfunc - show a function source code from a module
    • podgrep - grep in pods of a file
    • pfcat - show pods from perlfunc
    • podtoc - list table of contents of a podpage
    • podpath - show full path of pod file
    • pods - list all standard pods and module pods
    • sitepods - list only pods in site_perl directories
    • basepods - list only normal "man-page" style pods
    • faqpods - list only faq pods
    • modpods - all module pods, including site_perl ones
    • stdpods - list standard pods, not site_perl ones
阅读(812) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~