Subject: | NEXT document interaction with mro |
Date: | Sat, 1 Jan 2011 22:39:24 +0100 |
To: | bug-NEXT [...] rt.cpan.org |
From: | Zsbán Ambrus <ambrus [...] math.bme.hu> |
Could you please have the pod documentation for the NEXT module to mention
something about the interaction of mro (which changes the order methods are
searched)?
In particular, if I have a class with the declaration use mro "c3" so the
method resolution order is changed, can I just use NEXT and expect it to
continue searching subclasses in the same order as c3 does? You should also
mention that mro exports the next::method and maybe::next::method methods,
which are similar to NEXT::ACTUAL::DISTINCT::foo and NEXT::DISTINCT::foo
respectively (where foo is the name of the current method; and I'm not sure
about the DISTINCT part).
Just in case it's needed, I'm looking at NEXT version 0.64, and mro
version 1.02, both distributed with perl 5.12.2.
Thanks,
Ambrus