Skip Menu |

This queue is for tickets about the Date-Manip CPAN distribution.

Report information
The Basics
Id: 80493
Status: resolved
Priority: 0/
Queue: Date-Manip

People
Owner: Nobody in particular
Requestors: dmcbride [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: Setting $ENV{PATH} breaks everything else
We have our PATH set to find our executables, among other things. For example, if running as root, /usr/sbin and /sbin may be there. After loading Log::Dispatch::FileRotate which then loads Date::Manip, the PATH is screwed up. You can't go clobbering the global variable %ENV, especially $ENV{PATH} unilaterally without a local. Instead of setting this during initialisation, why not localise it inside _cmd?
This was already reported and will be fixed with the next release. I'll try to get a quick release out within the next couple days.