in reply to Searching for Modules and Descriptions on CPAN Remotely
My goal is to be able to search for Modules on CPAN with the same prefix, grab the complete name and description, then print/save the results.
Might be easier to use CPAN or CPANPLUS. Take a look at CPANPLUS::Backend. For example:
use CPANPLUS::Backend; my $cb = CPANPLUS::Backend->new; my @modules = $cb->search( type => 'module', allow => [ qr/^Test::/ ] +); print $_->name, "\n" foreach @modules
To get the module names starting with Test::
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Searching for Modules and Descriptions on CPAN Remotely
by ghenry (Vicar) on Jan 23, 2006 at 13:46 UTC | |
by adrianh (Chancellor) on Jan 23, 2006 at 13:56 UTC | |
by ghenry (Vicar) on Jan 23, 2006 at 14:12 UTC | |
by adrianh (Chancellor) on Jan 23, 2006 at 15:56 UTC | |
by ghenry (Vicar) on Jan 23, 2006 at 16:38 UTC | |
| |
|
Re^2: Searching for Modules and Descriptions on CPAN Remotely
by ghenry (Vicar) on Jan 23, 2006 at 12:56 UTC |