in reply to Insecure $ENV{PATH}
Quick fix: explicitly set your env like this:
$ENV{PATH} = '/bin:/usr/bin:/opt/bin'; # adapt as necessary [download]
-- Cheers, Joe