This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mro_package_moved must act on all effective names
authorFather Chrysostomos <sprout@cpan.org>
Mon, 22 Nov 2010 00:26:04 +0000 (16:26 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 22 Nov 2010 14:22:53 +0000 (06:22 -0800)
commitd7879cf0b3199eb891fd6cdb551e1f6468d6f23d
treec96b399abf8e6150b987ed580631b7368bccb318
parent0724ad8708be1f65187c03974a56fff4ff9b48c8
mro_package_moved must act on all effective names

See the test case in the commit. It passes in 5.8.x and blead (as of
this commit), but not 5.10-5.13.7.

In every case the name to be passed to mro_gather_and_rename is cre-
ated using an SV, so we might as well pass that instead of extracting
the char array and length from it.

That allows us to pass an AV instead, if there are multiple names to
take into account.
embed.fnc
embed.h
mro.c
proto.h
t/mro/package_aliases.t