From: Emil Williams Date: Thu, 21 Aug 2025 01:17:14 +0000 (+0000) Subject: Testing On The Moon X-Git-Url: https://git.xolatile.top/?a=commitdiff_plain;h=d4b99fa6d8359555593eec1d6d0fa30d563be57f;p=gorillanest.git Testing On The Moon --- diff --git a/config.default.pl b/config.default.pl index 0e7e6bf..13566e9 100644 --- a/config.default.pl +++ b/config.default.pl @@ -1,5 +1,7 @@ # always assume anything to do with files or directories is ran at project root +no warnings 'redefine'; + use constant { # If you're using lighttpd, set this to 1 diff --git a/perl/cgi.pl b/perl/cgi.pl index f8dc7ac..3cbed42 100755 --- a/perl/cgi.pl +++ b/perl/cgi.pl @@ -21,10 +21,8 @@ use Data::Dumper; use Git::Repository; use lib qw(. ..); -no warnings 'redefine'; BEGIN { require 'config.default.pl'; } BEGIN { require 'config.pl'; } -use warnings 'redefine'; sub info { warn join(' ', @_);