opscode-cookbooks/perl — pull request #15 by docwhat (2014-06-16 19:09:32+00:00)
Title: Use windows_path to set the PATH

Using `execute` to alter the SYSTEM PATH has lots of negative side effects:

1. It doesn't have a guard, so it adds the PATH every time the cookbook is
run. 2. It clobbers any previously run `windows_path` because the environment
hasn't been reloaded.

This closes https://tickets.opscode.com/browse/COOK-1765

I have signed the CLA.