For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > July 2006 > How do I tell what version of a module is installed? (REALLY stupid question!)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How do I tell what version of a module is installed? (REALLY stupid question!)
mustaine

2006-07-10, 6:57 pm

Because I can't install into a general location on the Unix machine I'm
working on, I've been installing modules into a lib directory of my
own. If I go there, I can see, for instance, a directory called
Archive, and within that, a directory called Tar, which tells me that
Archive::Tar is installed, but how do I tell which version it is?

(I believe I installed 1.08, but a subsequent install of something else
was complaining that I had an earlier version of Archive::Tar. Would
just like to be able to confirm what version I have installed.)

Thanks.

Eric R. Meyers

2006-07-10, 6:57 pm

mustaine wrote:

> Because I can't install into a general location on the Unix machine I'm
> working on, I've been installing modules into a lib directory of my
> own. If I go there, I can see, for instance, a directory called
> Archive, and within that, a directory called Tar, which tells me that
> Archive::Tar is installed, but how do I tell which version it is?
>
> (I believe I installed 1.08, but a subsequent install of something else
> was complaining that I had an earlier version of Archive::Tar. Would
> just like to be able to confirm what version I have installed.)
>
> Thanks.


Not exactly right, but close. You should find Archive::Tar in
Archive/Tar.pm. View this Archive/Tar.pm module and find the $VERSION
variable, or use Archive::Tar; print $Archive::Tar::VERSION.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com