Coruscate has already given you the correct fix for your problem, but ir's worth pointing out the Perl tried to tell you what the problem was. If you'd have looked in the web server error log you would have seen
Insecure $ENV{PATH} while running with -T switch
--
<http://www.dave.org.uk>
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg