refuse to run w/CGI.pm 3.38. all lenny upgrades will need libcgi-pm-perl removed...
authorivan <ivan>
Mon, 27 Apr 2009 23:02:17 +0000 (23:02 +0000)
committerivan <ivan>
Mon, 27 Apr 2009 23:02:17 +0000 (23:02 +0000)
htetc/handler.pl

index 7228ad5..1b3a211 100644 (file)
@@ -92,6 +92,13 @@ sub handler
       use vars qw( $cgi $p $fsurl);
       use vars qw( %session );
       use CGI 3.29 qw(-private_tempfiles); #3.29 to fix RT attachment problems
+
+      #breaks quick payment entry
+      #http://rt.cpan.org/Public/Bug/Display.html?id=37365
+      die "CGI.pm v3.38 is broken, use any other version >= 3.29".
+          " (Debian 5.0?  aptitude remove ligcgi-pm-perl)"
+        if $CGI::VERSION == 3.38;
+
       #use CGI::Carp qw(fatalsToBrowser);
       use List::Util qw( max min );
       use Date::Format;