From e80b501f4b24b67e3c61b724e8458f9c61754373 Mon Sep 17 00:00:00 2001 From: Nigel Horne Date: Fri, 5 Jul 2024 08:46:00 -0400 Subject: [PATCH] Fix "Undefined subroutine &main::strftime" --- cgi-bin/page.fcgi | 4 +++- t/version.t | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cgi-bin/page.fcgi b/cgi-bin/page.fcgi index 28881898..9150109b 100755 --- a/cgi-bin/page.fcgi +++ b/cgi-bin/page.fcgi @@ -35,7 +35,9 @@ use File::Spec; use Log::WarnDie 0.09; use CGI::ACL; use HTTP::Date; -use Taint::Runtime qw($TAINT taint_env); +# FIXME: Gives Insecure dependency in require while running with -T switch in Module/Runtime.pm +# use Taint::Runtime qw($TAINT taint_env); +use POSIX qw(strftime); use autodie qw(:all); # use lib '/usr/lib'; # This needs to point to the Geo::Coder::Free directory lives, diff --git a/t/version.t b/t/version.t index ce3696a4..65512472 100644 --- a/t/version.t +++ b/t/version.t @@ -14,4 +14,3 @@ BEGIN { plan(skip_all => 'Author tests not required for installation'); } } -