in reply to Standard Modules
This page (warning it's huge) lists all CPAN distributions and marks the ones bundled with ActivePerl as 'CORE'. This is a misleading label since some are core (come in the Perl distribution) and the rest are added by ActiveState.
I grabbed a local copy using wget then ran this script to extract the names of all the distributions marked 'CORE' and then use Richard Clamp's Module::CoreList to filter out the ones that really are core:
#!/usr/bin/perl -w use strict; use XML::LibXML; use Module::CoreList; my $parser = XML::LibXML->new(); $parser->recover(1); my $dom = $parser->parse_html_file('activeperl_ppm_status.html') or die "parse error"; foreach ( $dom->findnodes('//tr[./td[3]/text() = "CORE"]/td[1]/text()' +) ) { my $dist = $_->to_literal; $dist =~ s/-/::/g; next if Module::CoreList->first_release($dist); print $dist, "\n"; }
Which returned this list:
Archive::Tar Compress::Zlib Data::Dump Digest::HMAC Digest::MD2 Digest::MD4 Digest::SHA1 File::CounterFile Font::AFM HTML::Parser HTML::Tagset HTML::Tree IO::Zlib libwin32 libwww::perl MD5 Scalar::List::Utils SOAP::Lite Tk URI Win32::OLE Win32::Sound Win32::TieRegistry Win32API::File XML::Parser XML::Simple
Update: added the s/-/::/g line to fix the list filtering.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Standard Modules
by Anonymous Monk on Mar 21, 2005 at 02:54 UTC |