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 17:06:45 +0000 (12:06 -0500)
commit4e1a0020d28612ce072902bf6bc94a073eb852e2
treeef5f7de80f9f96a65f00ea7fb3fb111f7e74323c
parentb0aa238ee9907da9032d269cb943e7b09e9fd47f
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