Skip Menu |

This queue is for tickets about the XML-Namespace CPAN distribution.

Report information
The Basics
Id: 50650
Status: new
Priority: 0/
Queue: XML-Namespace

People
Owner: Nobody in particular
Requestors: EKAWAS [...] cpan.org
Cc:
AdminCc:

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



on line 54, i keep getting redefinition warnings that no warnings 'redefine'; cannot silence. I have multiple independent 'vocabulary' files that import various namespaces. When used alone, no warnings are given. When i use them as part of a larger project, i get redefine warnings. On line 54, if you modify the line to read: *{"$class\::$ns"} = sub { return $obj } unless (exists {map { $_ => 1 } @EXPORT_OK}->{$ns}); versus what it is currently: *{"$class\::$ns"} = sub { return $obj }; the warnings disappear.