Refactor environment values building
authorOlivier Mengué <dolmen@cpan.org>
Sun, 1 May 2011 00:02:28 +0000 (02:02 +0200)
committerChris Nehren <apeiron@cpan.org>
Fri, 13 May 2011 13:59:40 +0000 (09:59 -0400)
commit967827c14eddc53f53b0cde68bcd11cbe6e84bdb
tree0e69778f27011b2b34f9cb878be4efe650f071bc
parent6c0ebbaaa1841b3c240f800e66aac6aa9a30a452
Refactor environment values building

Introduce sub _env_list_value() to put all join($Config{path_sep}) and
existing value preservation in a single place.
Use that function everywhere: the code for the value for each environment
variable is now clearer.
All tests pass.
lib/local/lib.pm