Mailing List Archive

cvs commit: modperl Makefile.PL
dougm 98/05/04 16:59:19

Modified: . Makefile.PL
Log:
suggest upgrade if $CGI::VERSION < 2.39

Revision Changes Path
1.23 +11 -0 modperl/Makefile.PL

Index: Makefile.PL
===================================================================
RCS file: /export/home/cvs/modperl/Makefile.PL,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- Makefile.PL 1998/05/04 23:52:55 1.22
+++ Makefile.PL 1998/05/04 23:59:18 1.23
@@ -683,6 +683,17 @@

#checking for LWP code, borrowed from LWP's own Makefile.PL :-)
unless ($Is_Win32) {
+ print "Checking CGI.pm VERSION..........";
+ eval {
+ require CGI;
+ };
+ if($CGI::VERSION >= 2.39) {
+ print "ok\n";
+ }
+ else {
+ print "I suggest upgrading from $CGI::VERSION to 2.39+\n";
+ sleep 2;
+ }
print "Checking for LWP::UserAgent......";
eval {
require LWP::UserAgent;