On Wed, Sep 13, 2006 at 12:15:19PM +0100, Dave Howorth wrote:
The usual mantra in a Perl program is: $ENV{'PATH'} = '/bin:/usr/bin';
Call me paranoid, but I prefer
%ENV = (PATH=>"/sbin:/usr/sbin/:/bin:/usr/bin");
Note that the environment is cleared here.