Subject: | Failed to Module::Metadata->new_from_module with Devel::PatchPerl 1.68 |
```
❯ perl -MModule::Metadata\ 99999
Module::Metadata version 99999 required--this is only version 1.000037.
BEGIN failed--compilation aborted.
```
```
❯ perl -MDevel::PatchPerl\ 9999999
Devel::PatchPerl version 9999999 required--this is only version 1.68.
BEGIN failed--compilation aborted.
```
```
❯ perl -MModule::Metadata -e 'Module::Metadata->new_from_module("Devel::PatchPerl")'
Error evaling version line ' my $dummy = q# Hide from _packages_inside()
#; package Module::Metadata::_version::p2;
use version;
sub {
local $VERSION;
-our $VERSION = '1.9733';;
return $VERSION if defined $VERSION;
return $Module::Metadata::_version::p2::VERSION;
};
' in /Users/skaji/env/plenv/versions/5.30.0/lib/perl5/site_perl/5.30.0/Devel/PatchPerl.pm: Can't modify negation (-) in scalar assignment at (eval 6) line 6, at EOF
failed to build version sub for /Users/skaji/env/plenv/versions/5.30.0/lib/perl5/site_perl/5.30.0/Devel/PatchPerl.pm at -e line 1.
```