summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbscan <10503608+bscan@users.noreply.github.com>2023-10-23 08:15:13 -0400
committerbscan <10503608+bscan@users.noreply.github.com>2023-10-23 08:15:13 -0400
commitab444e499906a069f1138b947c74a83c624dfa34 (patch)
treee400636824dc7bb8b53bf78061f4c2947e4975d6
parentd2fe8ce869f8ea7258ae2dcd632782fef25753c8 (diff)
downloadPerlNavigator-ab444e499906a069f1138b947c74a83c624dfa34.zip
Fix for namespace clean/autoclean minimum versions
-rw-r--r--server/src/perl/Inquisitor.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/perl/Inquisitor.pm b/server/src/perl/Inquisitor.pm
index 26521b5..af09bd9 100644
--- a/server/src/perl/Inquisitor.pm
+++ b/server/src/perl/Inquisitor.pm
@@ -18,6 +18,11 @@ $SIG{__WARN__} = sub { warn '=PerlWarning=', @_ };
# I hope this doesn't cause any issues, perhaps VERSION numbers or import statements would help here
$INC{'namespace/clean.pm'} = '';
$INC{'namespace/autoclean.pm'} = '';
+{
+ no strict 'refs';
+ *{'namespace::autoclean::VERSION'} = sub { '0.29' };
+ *{'namespace::clean::VERSION'} = sub { '0.27' };
+}
CHECK {
if(!$ENV{'PERLNAVIGATORTEST'}){