From cd9371db878540da2509a744dd0ba27448e486eb Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Sat, 12 Dec 2020 09:18:00 -0700 Subject: [PATCH] Girocco/CGI.pm: add missing `require Exporter` Before adding a class to @ISA it's important to make sure it's been loaded. Previously this has not been a problem because of `use Girocco::Util` that executes before modifying @ISA and which has the side effect of loading the `Exporter` class. Nevertheless, add the explicit `require Exporter` line to avoid depending on this happenstance. Signed-off-by: Kyle J. McKay --- Girocco/CGI.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Girocco/CGI.pm b/Girocco/CGI.pm index 79449b6..7414416 100644 --- a/Girocco/CGI.pm +++ b/Girocco/CGI.pm @@ -7,6 +7,7 @@ use Girocco::Config; use Girocco::Util; BEGIN { + require Exporter; our $VERSION = '0.1'; our @ISA = qw(Exporter); our @EXPORT = qw(html_esc); -- 2.11.4.GIT