aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Williams2025-08-21 01:17:14 +0000
committerEmil Williams2025-08-21 01:17:14 +0000
commitd4b99fa6d8359555593eec1d6d0fa30d563be57f (patch)
treec52fbae241b69ff8d359020aac14a8a29ffd51aa
parent1c5a0a9b331aec8f2f40fb8ba34adc6ad8b69203 (diff)
downloadgorillanest-d4b99fa6d8359555593eec1d6d0fa30d563be57f.tar.xz
gorillanest-d4b99fa6d8359555593eec1d6d0fa30d563be57f.tar.zst
Testing On The Moon
-rw-r--r--config.default.pl2
-rwxr-xr-xperl/cgi.pl2
2 files changed, 2 insertions, 2 deletions
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(' ', @_);