Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Keep It Simple, Stupid
 
PerlMonks  

Re: How to get a list of available modules from a cpan mirror

by Anonymous Monk
on May 25, 2012 at 13:34 UTC ( #972424=note: print w/ replies, xml ) Need Help??


in reply to How to get a list of available modules from a cpan mirror

Is there some easy way to get cpan to tell me what modules are available?

Use cpanp -m regex

$ cpanp -m App::Ack 1 App::Ack 1.96 PETDANCE 2 App::Ack::Plugin PETDANCE 3 App::Ack::Plugin::Basic PETDANCE 4 App::Ack::Repository PETDANCE 5 App::Ack::Repository::Basic PETDANCE 6 App::Ack::Resource PETDANCE 7 App::Ack::Resource::Basic PETDANCE

Or, start cpan, and type h, to get interactive help, but remember, cpan -m is not the same as cpan> m

cpan[1]> m /App::Ack/ Database was generated on Thu, 24 May 2012 20:07:03 GMT Module = App::Ack (PETDANCE/ack-1.96.tar.gz) Module = App::Ack::Plugin (PETDANCE/ack-1.96.tar.gz) Module = App::Ack::Plugin::Basic (PETDANCE/ack-1.96.tar.gz) Module = App::Ack::Repository (PETDANCE/ack-1.96.tar.gz) Module < App::Ack::Repository::Basic (PETDANCE/ack-1.96.tar.gz) Module = App::Ack::Resource (PETDANCE/ack-1.96.tar.gz) Module < App::Ack::Resource::Basic (PETDANCE/ack-1.96.tar.gz) 7 items found


Comment on Re: How to get a list of available modules from a cpan mirror
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972424]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (18)
As of 2013-05-21 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (434 votes), past polls