SPUG: getting versions of modules?

Borow, Scott W Scott.Borow at pss.boeing.com
Thu Aug 12 11:24:42 CDT 1999


You can check what version is installed by requiring
a non existent high version of the module from the 
command line and examining the error message.

For example for CGI.pm (since I don't have URI installed)

borow at bandit ~ 512 > perl -M'CGI  9999'
CGI version 9999 required--this is only version 2.36.
BEGIN failed--compilation aborted.
borow at bandit ~ 513 >


--Scott

> ----------
> From: 	John Eckman[SMTP:eckman at u.washington.edu]
> Sent: 	Thursday, August 12, 1999 8:58 AM
> Cc: 	SPUG List
> Subject: 	SPUG: getting versions of modules?
> 
> How do I tell what version of URI a system is running?
> 
> I'm working with a script called checkbot.pl 
> <http://www.xs4all.nl/~graaff/checkbot/>
> 
> 
> It makes the following call:
> 
> my $redir_url = URI->new_abs($response->header('Location'), $baseURI);
> 
> which generates an error on execution- apparentley the version of URI we 
> have is old.
> 
> But how do I find out what version we do have?
> 
> John
> 
	[...]


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    POST TO: spug-list at pm.org        PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
        Email to majordomo at pm.org: ACTION spug-list your_address





More information about the spug-list mailing list