Skip Menu |

This queue is for tickets about the Math-Geometry-Planar-GPC-Polygon CPAN distribution.

Report information
The Basics
Id: 92572
Status: new
Priority: 0/
Queue: Math-Geometry-Planar-GPC-Polygon

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

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



Subject: make test fails on Perl 5.18 due to for my $foo qw(...) {} no longer being allowed
Simple fix: diff --git a/test.pl b/test.pl index 718f8e7..c9b5cb5 100644 --- a/test.pl +++ b/test.pl @@ -24,7 +24,7 @@ ok($clp->isa($class), "imported constructor correct"); ok($sub->can("to_file"), "save to file supported"); ok($sub->can("from_file"), "load from file supported"); my $tdata = "test_data/"; -foreach my $action qw(INTERSECT UNION DIFFERENCE) { +foreach my $action (qw(INTERSECT UNION DIFFERENCE)) { my $c; my $res, $sub, $clp; ok($c = $sub->from_file($tdata . "subjfile", 1), "read subject ($c)");