]> git.xolatile.top Git - gorillanest.git/commitdiff
Testing On The Moon
authorEmil Williams <emilemilemil@cock.li>
Thu, 21 Aug 2025 01:17:14 +0000 (01:17 +0000)
committerEmil Williams <emilemilemil@cock.li>
Thu, 21 Aug 2025 01:17:14 +0000 (01:17 +0000)
config.default.pl
perl/cgi.pl

index 0e7e6bf0918edff0a47dfc8499c413389fa22171..13566e996f81d5ddb3fc94e89b0e60552133501b 100644 (file)
@@ -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
index f8dc7ac7ee33afb560385e9c3044bf27bed1fce0..3cbed421cc800660f67d629f3edd3ecad1e00d50 100755 (executable)
@@ -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(' ', @_);