in reply to CPAN: standard modules and other modules

You could install and then use Module::CoreList to see what modules came with what version of Perl.
  • Comment on Re: CPAN: standard modules and other modules

Replies are listed 'Best First'.
Re^2: CPAN: standard modules and other modules
by JohnMG (Beadle) on Oct 20, 2005 at 21:04 UTC

    Sorry -- perhaps I wasn't being clear enough: My impression is that CPAN lists standard modules as well as many many more that are not part of the standard Perl library.

    When I'm browsing CPAN, and I see a neat module, the first thing I think is: "I wonder if that's part of the standard lib?" That is, I wonder if I've already got it installed (EDIT: also, I'd just like to get to know better which modules are in the std lib, and which aren't.). I sometimes work on various different machines, which each may have different extra modules installed.

    That's why I'm curious if the CPAN site offers a way to differentiate (while browsing) between standard modules and other, extra ones. It would seem like a useful web site feature, no?

    I realize there's other ways to see: (a) which modules the standard lib consists of, and (b) which other modules I've currently got installed on my system. That said, it still seems that it would be convenient to see directly on CPAN what you're dealing with.

      Just to check out my suspicions, I searched CPAN for five modules that my copy of perlmodlib said are standard with 5.8.7.
      Class::Struct
      File::Copy
      Memoize-1.01
      MIME-Base64-3.05
      Tie::Handle
      Only three of these are linked back to the distribution Perl 5.8.7, the other two are found as separate distributions. Not even the listing of modules with Perl 5.8.7 shows the other two modules. Only by looking in the perlmodlib of that release can you find them listed.

      I have to agree that it would be very nice to see the addition of a "Standard since Perl 5.8.3" information line. It would seem all the information needed is in Module::CoreList as mentioned above. I can see that it might be required for some modules to mention more than one release, something like "Standard since Perl 5.7.3, 5.8.0", when the release dates are staggered.

      You're not browsing CPAN, you're browsing search.cpan.org. You should direct your questions to http://search.cpan.org/feedback

        > You're not browsing CPAN, you're browsing search.cpan.org.

        Thanks. :)