or download this
[sgifford@sghome sgifford]$ perl -T -e"exec('echo', 'OK')"
Insecure $ENV{PATH} while running with -T switch at -e line 1.
...
Insecure $ENV{PATH} while running with -T switch at -e line 1.
[sgifford@sghome sgifford]$ perl -T -e"exec('/bin/echo', 'OK')"
OK