Reverse the output from _follow_also
authorChris Prather <chris@prather.org>
Tue, 15 Feb 2011 16:36:09 +0000 (11:36 -0500)
committerChris Prather <chris@prather.org>
Tue, 15 Feb 2011 16:36:09 +0000 (11:36 -0500)
commitf7d62c2e1e079d69f1b12d2e9f299365dc49c72c
tree8b09d8468113fae2e87196ab6d5c5ad43b26fa84
parentc45e12340ddbe9d26a1c099eff84c7706d024806
Reverse the output from _follow_also

Turns out when we follow the export tree we return the list in the order we
discovered, which is the inverse of the order we want. This wasn't ever a
problem before because nobody has tried exporting more than one level off of
Moose. Someone has now, so we need to reverse the entire list.

Also we have added tests for second-order exports (exporting overridden
exports)
lib/Moose/Exporter.pm
t/050_metaclasses/012_moose_exporter.t