Resolve RT#64208, solving the issue of duplicate paths ONCE AND FOR ALL.
authorAndrew Rodland <andrew@cleverdomain.org>
Fri, 18 Feb 2011 04:33:56 +0000 (22:33 -0600)
committerChris Nehren <apeiron@cpan.org>
Wed, 23 Feb 2011 22:08:04 +0000 (17:08 -0500)
commit3939a7ae7369f2225e806a0ad46ee2b8af1ce2b6
tree5dc26062e038a9c54b5046b8ae6702a5f89dd534
parent29500601f6eec2b01ae2c8caf4b39a086263fcfa
Resolve RT#64208, solving the issue of duplicate paths ONCE AND FOR ALL.

If asked to add a path that is already the most recent path activated,
local::lib won't try to doanything. If asked to add a path that's
already been activated further down the stack, it will remove it from
its current position and re-add, thus making it the new "most recent
path" without duplication. In other cases, everything is the same.

This adds yet another variable to pass down through three layers of
method calls. Something must be done about those.
lib/local/lib.pm