Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Use the CPAN.pm API to 'look' at the distributions you ask it to.

    e.g.: CPAN::Distribution::look()
    CPAN::Distribution::readme()
    etc...
    Read the manpage for more details

  • Thanks - Hadn't used that before - it's better than going to the web site. It still doesn't solve the problem of what to do if you don't understand what the author is saying or (particularly in my case) where there are a lot of new versions and each one has to considered individually. I was after something like

    cpan> r critical
    or
    cpan> r all

    I guess the author would have to classify each new release. At least this would enable me to issue "idiot instructions" of the 'go here, type this' variety.

    (
    • You are probably looking for the CPAN::Psychic plug-in that I hear Schwern is working on....

      In all seriousness though, there is only so much one can do programmatically. And at least the CPAN.pm 'look' function downloads it for you and drops you into a shell so you can evaluate the module before deciding whether or not you want to install it.

      Also, you can create your own bundle, see the CPAN FAQ [cpan.org] that noone ever seems to read, for instructions on how to make a 'critical' and/or an 'all' bundle. Then, wri