Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How do I determine module version in my script?

by moxliukas (Curate)
on Jul 23, 2003 at 17:09 UTC ( #277255=note: print w/replies, xml ) Need Help??


in reply to How do I determine module version in my script?

I have never used DBI, so I don't know if you should get round the interface change in this way. However, to answer your question, most modules keep their version number in a variable $VERSION, so in DBI's case you can get to it via a variable $DBI::VERSION. Here's an example how I got at the CPAN module version:

 perl -MCPAN -e 'print "$CPAN::VERSION\n"'

Hope this helps

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://277255]
help
Chatterbox?
[perldigious]: "for how I roll"... ahhh, I see what you did there stevieb.
[MidLifeXis]: Has anyone been successful running prove under Windows with a --jobs parameter? It appears, even with (what appears to be) appropriately- configured parameters and up to date Test::Harness/TAP ::Harness that tests are still running serially.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2016-12-06 16:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (112 votes). Check out past polls.