You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing a plugin that applies a patch Perl/perl5#23178
It fixes a build error of Perl 5.42.0 on windows.
source file:
# lib/Devel/PatchPerl/Plugin/MyPlugin.pmpackageDevel::PatchPerl::Plugin::MyPlugin;
use strict;
use warnings;
subpatchperl {
my ($self, $perl) = @_;
warn"my patching logic here\n";
}
1;
# patch.pluse strict;
use warnings;
use FindBin;
use lib "$FindBin::Bin/lib";
$ENV{PERL5_PATCHPERL_PLUGIN} = 'Devel::PatchPerl::Plugin::MyPlugin';
use Devel::PatchPerl;
Devel::PatchPerl->patch_source( '5.42.0', './perl-5.42.0' );
1;
expected result:
$ perl patch.pl
my patching logic here
actual result:
$ perl patch.pl
Nothing else to do, '5.42.0' is fine