Skip Menu |

This queue is for tickets about the Math-Polygon-Tree CPAN distribution.

Report information
The Basics
Id: 92573
Status: resolved
Priority: 0/
Queue: Math-Polygon-Tree

People
Owner: Nobody in particular
Requestors: nine [...] detonation.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: "Smartmatch is experimental" warning on Perl 5.18
Loading Math::Polygon::Tree on Perl 5.18.1 issues several warnings: Smartmatch is experimental at /usr/lib/perl5/site_perl/5.18.1/Math/Polygon/Tree.pm line 78. Smartmatch is experimental at /usr/lib/perl5/site_perl/5.18.1/Math/Polygon/Tree.pm line 104. Smartmatch is experimental at /usr/lib/perl5/site_perl/5.18.1/Math/Polygon/Tree.pm line 105. Smartmatch is experimental at /usr/lib/perl5/site_perl/5.18.1/Math/Polygon/Tree.pm line 122. Smartmatch is experimental at /usr/lib/perl5/site_perl/5.18.1/Math/Polygon/Tree.pm line 123. Smartmatch is experimental at /usr/lib/perl5/site_perl/5.18.1/Math/Polygon/Tree.pm line 183. Smartmatch is experimental at /usr/lib/perl5/site_perl/5.18.1/Math/Polygon/Tree.pm line 183. I suggest replacing smartmatching by traditional == or eq. Should be very straight forward, except for the one case in line 78 where I don't even know what the operator is supposed to match. So in that case it would also increase readability a lot.
Fixed, thanx