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

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;"

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://206637]
[Corion]: marto: A rough week comes to an end?
Corion has to finish off some test tickets and hopefully close them. Also I have to prepare some information for the tax people on the weekend :-/
[marto]: it feels like 2 weeks :)
[Discipulus]: sane dots for your weekend marto!
[choroba]: My week was hectic as well, and so will be the next several ones...
[Corion]: Sane Dots Supplies - your brand manufacturer for satisfying experiences!
[choroba]: preparing the trip to Vietnam + buying a new car = enough fun

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2017-01-20 10:11 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (174 votes). Check out past polls.