Thanks grantm but this doesn't really give me what i'm looking for either.
The closest i've got so far has been by comparing the modules to the html pages supplied by Activestate:
my $file;
my $module;
my @installed;
my %installed;
my @standard;
my %standard;
my @non_standard;
my @INC_html = @INC;
map {s/perl/perl\/html/i;} @INC_html;
# Find all '.html' suffixed files in paths contained in the array @INC
+_html
find( sub { push @standard, $File::Find::name if -f _ && /\.html$/ },@
+INC_html);
foreach $file (@standard)
{
$file =~ /(.*lib\/)(.*)(\.html)/;
$file = $2;
$file =~ s/\//::/g;
}
# Find all '.pm' suffixed files in paths contained in the array @INC
find( sub { push @installed, $File::Find::name if -f _ && /\.pm$/ },@I
+NC);
foreach $file (@installed)
{
$file =~ /(.*lib\/)(.*)(\.pm)/;
$file = $2;
$file =~ s/\//::/g;
}
# Build a look-up table (Hash) for the standard modules
@standard{@standard} = (1) x @standard;
# Look-up standard and non-standard modules
foreach $module (@installed)
{
unless(exists $standard{$module})
{
push @non_standard,$module;
}
}
Unfortuantely ActiveState do not provide an html page for every module that they supply in the Perl bundle.
Looks like i may have to do a fresh install on another machine to get the unadulterated module listing.
Marv.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|