![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best Method for installing Perl Modules | metallica1973 | High Level Programming | 2 | 03-05-2008 03:54 PM |
| Installing perl modules manually | metallica1973 | High Level Programming | 0 | 03-05-2008 08:32 AM |
| Installing Perl Modules | ssmiths001 | Shell Programming and Scripting | 1 | 06-26-2006 09:20 PM |
| How to check if perl is installed? | kfad | Shell Programming and Scripting | 5 | 04-20-2005 09:12 PM |
| Calling perl modules from shell scritps | kavitha | Shell Programming and Scripting | 1 | 03-31-2004 02:34 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||||
|
I found for what I was looking for. Posting it here in case someone else needs this.
for i in Crypt::CBC Crypt: ES DBI DBD::Oracle DBD::mysql ; do /usr/local/perl-5.8.3/bin/perl -e "eval { require $i; }; if (\$@) { print \"$i - not found\n\"; } else { print \"$i: \$$i::VERSION\n\"}" ; done |
|
||||
|
This should work.
#!/usr/bin/perl # list installed modules use ExtUtils::Installed; my $instmod = ExtUtils::Installed->new(); foreach my $module ($instmod->modules()) { my $version = $instmod->version($module) || "???"; print "$module -- $version\n"; } |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|