in reply to Installing of CPAN::Checksums 2.14 is not working
like $cksum->{1}{cpan_path}, qr{t/tdir$}, "cpan_path is as expected" or diag explain $cksum;
should be replaced with
my $path = File::Spec->catfile('t', 'tdir'); like $cksum->{1}{cpan_path}, qr{\Q$path\E$}, "cpan_path is as expected" or diag explain $cksum;
or something similar.
Update: Oh, we already have a function for that! So the first line should be
my $path = _d"t/tdir";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Installing of CPAN::Checksums 2.14 is not working
by Dirk80 (Pilgrim) on Jun 01, 2022 at 13:15 UTC | |
by Tux (Canon) on Jun 01, 2022 at 13:38 UTC |