Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Which Modules installed: Mac OS X Leopard

by GertMT (Friar)
on Nov 09, 2007 at 08:12 UTC ( #649870=perlquestion: print w/ replies, xml ) Need Help??
GertMT has asked for the wisdom of the Perl Monks concerning the following question:

dear Monks,
After upgrading to Leopard, the script (see below) I used to run for finding out which modules I had installed doesn't work any more. It just shows the modules that I've installed as of the date I upgraded. Modules installed before upgrade do still work though. Can anyone tell me why they don't show up via this script?
Gert
#!/usr/bin/perl -w use strict; use diagnostics; use CGI qw(:standard); use ExtUtils::Installed; my $instmod = ExtUtils::Installed->new(); foreach my $module ( $instmod->modules() ) { my $version = $instmod->version($module) || "???"; print "$module -- $version\n"; }

Comment on Which Modules installed: Mac OS X Leopard
Download Code
Re: Which Modules installed: Mac OS X Leopard
by Anonymous Monk on Nov 09, 2007 at 08:29 UTC
    No packlists
Re: Which Modules installed: Mac OS X Leopard
by RMGir (Prior) on Nov 09, 2007 at 14:16 UTC
Re: Which Modules installed: Mac OS X Leopard
by JSchmitz (Canon) on Nov 09, 2007 at 14:49 UTC
    Are you using Active State for Mac? If so you can just do a
    sh-2.05b$ ./ppm list C--------------------------+------------+-------+----------+------+ | name | version | files | size | area | +--------------------------+------------+-------+----------+------+ | ActivePerl-Config | 1.02 | 3 | 28 KB | perl | | ActivePerl-DocTools | 2.1 | 13 | 96 KB | perl | | ActivePerl-PPM | 4.1 | 70 | 828 KB | perl | | ActiveState-RelocateTree | 1.4 | 5 | 52 KB | perl | | ActiveState-Scineplex | 1.01 | 6 | 388 KB | perl | | ActiveState-Utils | 2.3 | 47 | 556 KB | perl | | Archive-Tar | 1.32-r1 | 10 | 148 KB | perl | | Archive-Zip | 1.20 | 19 | 284 KB | perl | | Bundle-Tk_OS2src | 1.00 | 0 | 0 KB | site | | Compress-Zlib | 1.4201 | 6 | 344 KB | perl | | DBD-SQLite | 1.13 | 5 | 844 KB | perl | | DBI | 1.58 | 104 | 2512 KB | perl | | Data-Dump | 1.08 | 3 | 28 KB | perl | | Digest-HMAC | 1.01 | 7 | 40 KB | perl | | Digest-MD2 | 2.03 | 5 | 64 KB | perl | | Digest-MD4 | 1.5-r1 | 5 | 80 KB | perl | | Digest-SHA1 | 2.11 | 5 | 80 KB | perl | | File-CounterFile | 1.04 | 3 | 20 KB | perl | | Font-AFM | 1.19 | 15 | 76 KB | perl | | HTML-Parser | 3.56 | 17 | 316 KB | perl | | HTML-Tagset | 3.10 | 3 | 36 KB | perl | | HTML-Tree | 3.23 | 19 | 596 KB | perl | | IO-String | 1.08 | 3 | 28 KB | perl | | IO-Zlib | 1.04 | 3 | 36 KB | perl | | LWP | 5.806 | 96 | 1132 KB | perl | | MD5 | 2.03 | 3 | 16 KB | perl | | MIME-Base64-Scripts | 1.00 | 5 | 20 KB | perl | | MLDBM | 2.01 | 6 | 48 KB | perl | | Mac-AppleEvents-Simple | 1.18 | 3 | 48 KB | perl | | Mac-Apps-Launch | 1.93 | 3 | 20 KB | perl | | Mac-Carbon | 0.77 | 77 | 2412 KB | perl | | Mac-Errors | 1.13 | 5 | 360 KB | perl | | Mac-Glue | 1.30 | 21 | 368 KB | perl | | Mac-OSA-Simple | 1.09 | 3 | 36 KB | perl | | Math-BigInt-FastCalc | 0.13 | 5 | 76 KB | perl | | Perl | 5.8.8.822 | 1990 | 60628 KB | perl | | SOAP-Lite | 0.55-r1 | 48 | 628 KB | perl | | Tcl | 0.89-r2 | 7 | 6216 KB | perl | | Term-ReadKey | 2.30 | 6 | 108 KB | perl | | Term-ReadLine-Perl | 1.0302-r1 | 3 | 144 KB | perl | | Text-Autoformat | 1.13 | 3 | 76 KB | perl | | Text-Reform | 1.11 | 8 | 128 KB | perl | | Time-Epoch | 0.02 | 3 | 16 KB | perl | | Tk | 804.027-r6 | 757 | 11964 KB | perl | | Tk-OS2src | 1.04 | 0 | 0 KB | site | | Tkx | 1.04 | 12 | 144 KB | perl | | URI | 1.35 | 60 | 372 KB | perl | | Unicode-String | 2.09 | 7 | 640 KB | perl | | XML-Parser | 2.34-r1 | 37 | 1004 KB | perl | | XML-Simple | 2.16 | 5 | 204 KB | perl | +--------------------------+------------+-------+----------+------+ (50 packages installed)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2015-07-07 15:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (90 votes), past polls