Skip Menu |

This queue is for tickets about the Acme-MetaSyntactic CPAN distribution.

Report information
The Basics
Id: 68493
Status: resolved
Priority: 0/
Queue: Acme-MetaSyntactic

Owner: Nobody in particular
Requestors: RWSTAUNER [...]

Bug Information
Severity: Normal
Broken in: 0.99
Fixed in: 0.99_02


Subject: pod-coverage fails on unicode List in perl 5.14
Download (untitled) / with headers
text/plain 427b
The pod-coverage test probably doesn't need to be run by end-users, but regardless of when you choose to run the test it fails on perl 5.14. The included unicore/ defines subs that get put into the calling module. Using namespace::clean (or namespace::autoclean) might be a way to handle this, but the attached patch merely changes to another package before requiring the file so that any defined subs go there instead.
Subject: meta-unicode-subs-5-14.patch
diff -ru Acme-MetaSyntactic-0.99-a/lib/Acme/MetaSyntactic/ Acme-MetaSyntactic-0.99-c/lib/Acme/MetaSyntactic/ --- Acme-MetaSyntactic-0.99-a/lib/Acme/MetaSyntactic/ 2006-11-05 18:30:50.000000000 -0700 +++ Acme-MetaSyntactic-0.99-c/lib/Acme/MetaSyntactic/ 2011-05-26 11:07:02.000000000 -0700 @@ -14,6 +14,10 @@ eval { $data = require 'unicode/'; }; } elsif ( $] >= 5.007003 ) { + # load beneath a separate package + # to avoid allowing it to define subs in this one + # alternatively we could use something like namespace::(auto)clean + package Acme::MetaSyntactic::unicode::unicore_Name_pl; eval { $data = require 'unicore/'; }; } Only in Acme-MetaSyntactic-0.99-c: MYMETA.json Only in Acme-MetaSyntactic-0.99-c: MYMETA.yml

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to