From d4b99fa6d8359555593eec1d6d0fa30d563be57f Mon Sep 17 00:00:00 2001 From: Emil Williams Date: Thu, 21 Aug 2025 01:17:14 +0000 Subject: [PATCH] Testing On The Moon --- config.default.pl | 2 ++ perl/cgi.pl | 2 -- 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(' ', @_); -- 2.39.5