]> Sergey Matveev's repositories - public-inbox.git/commitdiff
cgi: disable warnings for CGI::NOSTICKY
authorEric Wong <e@80x24.org>
Wed, 30 Apr 2014 00:19:48 +0000 (00:19 +0000)
committerEric Wong <e@80x24.org>
Wed, 30 Apr 2014 00:23:09 +0000 (00:23 +0000)
We probably know what we're doing, here...

public-inbox.cgi

index 557d4923f2e5fa197059b1b59667c57a0865759a..b63223f509fc24cb05905e05c163c621303b7077 100755 (executable)
@@ -21,6 +21,7 @@ BEGIN {
        # TODO: detect and reload config as needed
        if ($ENV{MOD_PERL}) {
                require CGI;
+               no warnings;
                $CGI::NOSTICKY = 1;
                CGI->compile;
        }