SPUG: getting versions of modules?

Colin Meyer cmeyer at zipcon.net
Fri Aug 13 19:34:48 CDT 1999


...or try:
perl -MCGI -e'print "$CGI::VERSION\n"'
2.53

-Colin.

On Thu, Aug 12, 1999 at 09:24:42AM -0700, Borow, Scott W wrote:
> 
> 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
> 

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    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