diff -ruN Pod-POM-0.29.orig/Makefile.PL Pod-POM-0.29/Makefile.PL --- Pod-POM-0.29.orig/Makefile.PL 2010-04-01 15:52:01.000000000 -0500 +++ Pod-POM-0.29/Makefile.PL 2020-11-06 05:52:57.000000000 -0600 @@ -1,4 +1,5 @@ use 5.006; +use lib '.'; use inc::Module::Install; # Define metadata diff -Nurd -x'*~' Pod-POM-2.01.orig/bin/custom-pom2 Pod-POM-2.01/bin/custom-pom2 --- Pod-POM-2.01.orig/bin/custom-pom2 2015-11-07 15:03:28.000000000 -0600 +++ Pod-POM-2.01/bin/custom-pom2 2018-04-10 23:37:16.000000000 -0500 @@ -28,8 +28,12 @@ || die "usage: $program podfile\n"; # create a Pod::POM parser -my $parser = Pod::POM->new( warn => 1 ) +my $parser; +{ + no warnings 'once'; + $parser = Pod::POM->new( warn => 1 ) || die "$Pod::POM::ERROR\n"; +} # parse the file to build a POM my $pom = $parser->parse_file($file)