in reply to Insecure $ENV{PATH} while running with -T switch
The -T switch is for running your programs under the taint mode, which prevents you from using potentially hazardous data from the outside (including environment variables) without first sanitizing it (meaning, usually, checking the content with appropriate regexes).