diff options
| author | Emil Williams | 2025-08-21 01:17:14 +0000 |
|---|---|---|
| committer | Emil Williams | 2025-08-21 01:17:14 +0000 |
| commit | d4b99fa6d8359555593eec1d6d0fa30d563be57f (patch) | |
| tree | c52fbae241b69ff8d359020aac14a8a29ffd51aa | |
| parent | 1c5a0a9b331aec8f2f40fb8ba34adc6ad8b69203 (diff) | |
| download | gorillanest-d4b99fa6d8359555593eec1d6d0fa30d563be57f.tar.xz gorillanest-d4b99fa6d8359555593eec1d6d0fa30d563be57f.tar.zst | |
Testing On The Moon
| -rw-r--r-- | config.default.pl | 2 | ||||
| -rwxr-xr-x | 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(' ', @_); |
