Image Ulrich Habel
About me/Impressum

search

Google


Search WWW
Search rhaen daily

archives

feeds

Perl nation banner logo thing
20.12.2008

Fetching CPAN::Reporter information

CPAN (1.92..) has some nice new features. I wrote some entries about my CPAN smoke testing. I showed some screenshots about the testing, however the build information is useful on the shell, too. When you decide to install stuff using the CPAN module, you can ask CPAN to show you the test report about a module. Just use the nice reports function from the CPAN module and type in the name of the module you would like to have reported. Just start the CPAN shell by typing perl -MCPAN -eshell or call the cpan command. Here is an example of a typical session:

rhaen@smoker$ cpan
CPAN: File::HomeDir loaded ok (v0.80)
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)

cpan[1]> reports Error
Distribution: S/SH/SHLOMIF/Error-0.17015.tar.gz
CPAN: CPAN::DistnameInfo loaded ok (v0.07)
CPAN: File::Temp loaded ok (v0.21)
Fetching 'http://cpantesters.perl.org/show/Error.yaml'...
 +PASS 5.8.9 on Linux 2.6.16.60-0.31-default (s390x-linux)
 +PASS 5.8.9 on Linux 2.6.16.60-0.31-default (s390x-linux-thread-multi)
 +PASS 5.8.9 on Freebsd 7.0-release (i386-freebsd-thread-multi-64int)
*+PASS 5.10.0 on Netbsd 5.0_beta (i386-netbsd-thread-multi)
 +PASS 5.10.0 on Freebsd 7.0-release (i386-freebsd-thread-multi-64int)
See http://cpantesters.perl.org/show/Error.html for details
The platform you are on is marked with an asterisk. So this module has been built and successfully passed all the tests. It's very likely that it'll install on your computer as well. Perls CPAN tools advanced over time - explore the wonders of Perl!

[/Perl] [link]

powered by NetBSD