From e256989a080c9b0fb6cde2a02ec687040e762b77 Mon Sep 17 00:00:00 2001 From: Lubos Kolouch Date: Sat, 2 May 2020 16:46:22 +0200 Subject: It works with Perl::Version but not version --- challenge-058/lubos-kolouch/perl/ch-1.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/challenge-058/lubos-kolouch/perl/ch-1.pl b/challenge-058/lubos-kolouch/perl/ch-1.pl index 5e132040d8..269ac6bf8a 100644 --- a/challenge-058/lubos-kolouch/perl/ch-1.pl +++ b/challenge-058/lubos-kolouch/perl/ch-1.pl @@ -27,7 +27,6 @@ use strict; use warnings; -use Perl::Version; sub compare_versions { my ($ver1, $ver2) = @_; @@ -47,6 +46,6 @@ is(compare_versions('2.0','1.2'),1); is(compare_versions('1.2','1.2_5'),-1); # There is likely bug in the module, I have reported it -# https://rt.cpan.org/Ticket/Display.html?id=132481& +# https://rt.cpan.org/Ticket/Display.html?id=132482 is(compare_versions('1.2.1','1.2_1'),1); is(compare_versions('1.2.1','1.2.1'),0); -- cgit