diff options
author | bscan <10503608+bscan@users.noreply.github.com> | 2023-10-23 08:15:13 -0400 |
---|---|---|
committer | bscan <10503608+bscan@users.noreply.github.com> | 2023-10-23 08:15:13 -0400 |
commit | ab444e499906a069f1138b947c74a83c624dfa34 (patch) | |
tree | e400636824dc7bb8b53bf78061f4c2947e4975d6 | |
parent | d2fe8ce869f8ea7258ae2dcd632782fef25753c8 (diff) | |
download | PerlNavigator-ab444e499906a069f1138b947c74a83c624dfa34.zip |
Fix for namespace clean/autoclean minimum versions
-rw-r--r-- | server/src/perl/Inquisitor.pm | 5 |
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'}){ |