Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: PPM Unknown Error?

by crazyinsomniac (Prior)
on Oct 20, 2002 at 07:36 UTC ( #206637=note: print w/ replies, xml ) Need Help??

in reply to PPM Unknown Error?

ppm3 works just fine for me most of the time, but when it don't, well, it ain't no secret you don't need the ppm3 shell to install modules, as you can read at (among other places).

I have experienced the problem you describe, and the cure was simple, reinstall.

Anyway, you don't need PPM to list locally installed modules, all you need is the lastest ExtUtils-MakeMaker, which comes with ExtUtils::Installed, which will list them for you.

It comes with the utility `instmodsh', which isn't bug free (the tar option is broken cause it relies on the tar utility with an -I option, which ain't in cygwin), but still cool none-the-less

C:\>instmodsh Available commands are: l - List all installed modules m <module> - Select a module q - Quit the program cmd? m CGI Available commands are: f [all|prog|doc] - List installed files of a given type d [all|prog|doc] - List the directories used by a module v - Validate the .packlist - check for missing fil +es t <tarfile> - Create a tar archive of the module q - Quit the module CGI cmd? f all all files in CGI are: C:\Perl\lib\CGI\ C:\Perl\lib\CGI\ C:\Perl\lib\ C:\Perl\lib\CGI\ C:\Perl\lib\CGI\ C:\Perl\lib\CGI\ C:\Perl\lib\CGI\ C:\Perl\lib\CGI\ C:\Perl\lib\CGI\ CGI cmd? q cmd? q C:\>
Since the perl core is given the name 'Perl' in the modules listed by ExtUtils::Installed, here is a nice oneliner to list them
perl -MExtUtils::Installed -le "for(ExtUtils::Installed->new()->files( +'Perl')){print if /\.pm$/}" or perl -MExtUtils::Installed -le "for(ExtUtils::Installed->new()->files( +'Perl')){if(/lib\/(.*?)\.pm$/){$_=$1;s(/)(::);print}}"
Man-oh-man I can't wait for CPANPLUS to add PPM support

Of all the things I've lost, I miss my mind the most.
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

Comment on Re: PPM Unknown Error?
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2015-11-27 09:01 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (722 votes), past polls