Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Finding Module Versions - How Would You Do It?

by Plankton (Priest)
on Feb 13, 2013 at 02:47 UTC ( #1018474=note: print w/ replies, xml ) Need Help??


in reply to Finding Module Versions - How Would You Do It?

I suspect that your CPAN Modules were installed by doing something like ...

$ perl -MCPAN -e install DBI
... but just in case this is not the case and your CPAN Perl modules were installed via yum/rpm (or Debian deb files) you could easily discover the version of the Perl module with a command line like this, rpm -q perl-DBI, in the case of Redhat.


Comment on Re: Finding Module Versions - How Would You Do It?
Select or Download Code
Re^2: Finding Module Versions - How Would You Do It?
by Anonymous Monk on Feb 13, 2013 at 03:21 UTC
    If you're using the OS vendor's outdated version of perl for your own perl programs, then that would be a great idea.

    Personally, I'll stick to using CPAN installed modules compiled against a modern version of perl.

      Or one could create their own RPMs, but that is a lot of work when you hit a modules that has a lot of dependencies. It would be great if CPAN would generate the RPM's as well as working out and installing the dependencies.

        Or one could create their own RPMs, but that is a lot of work when you hit a modules that has a lot of dependencies. It would be great if CPAN would generate the RPM's as well as working out and installing the dependencies.

        If only there was some kind of magical cpan2rpm/cpan2deb... cavapackager ... Re: dependency error isntalling rpm package

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2014-12-26 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (172 votes), past polls