develooper Front page | perl.perl5.porters | Postings from July 2013

[perl #118561] [PATCH] base.pm: failures loading modules are ignored when sub-package exists

Thread Previous | Thread Next
From:
Graham Knop via RT
Date:
July 2, 2013 17:20
Subject:
[perl #118561] [PATCH] base.pm: failures loading modules are ignored when sub-package exists
Message ID:
rt-3.6.HEAD-2552-1372399474-1408.118561-15-0@perl.org
I don't really think what Moose is doing here is reasonable.

The only reason it worked without this change was the declaration of the
Foo::Foo and Foo::Meta::Instance packages.  That causes base to think
that the Foo package exists.  The actual declaration of Foo, or it
calling metaclass->import, don't have any impact.

I think the test was only working accidentally, and the thing it was
testing doesn't really have anything to do with issue directly.  It will
also be very simple to fix.

I also looked at the other two modules from #118655.  One has a bug that
was reported in January that is now causing a test failure.  The other
is due to a circular dependency between its modules.

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=118561

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About