星期三, 12月 27, 2006

perl -V

perl -V

Compiled at Dec 16 2005 07:48:39
@INC:
/etc/perl
/usr/local/lib/perl/5.8.7
/usr/local/share/perl/5.8.7
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.8
/usr/share/perl/5.8
/usr/local/lib/site_perl
.

perldoc perllocal
#!/usr/local/bin/perl

use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
print "$module -- $version\n";
}


* 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

沒有留言: