Sat Apr 18 12:24:55 2015kfm [...] plushkava.net - Ticket created
Subject:
Broken as of Perl 5.20 due to prototype whitespace
Date:
Sat, 18 Apr 2015 17:24:32 +0100
To:
bug-Sort-Versions [...] rt.cpan.org
From:
Kerin Millar <kfm [...] plushkava.net>
As of Perl 5.20, the module no longer works where versioncmp is used
directly as a subname.
# perl -MSort::Versions -E 'say join " ", sort versioncmp reverse 1..5'
5 4 3 2 1
This is due to the extraneous whitespace in the prototype. Changing the
prototype to ($$) will fix it.