C:\Users\burak\Desktop>perl foo.pl "-T" is on the #! line, it must also be used on the command line at foo.pl line 1. C:\Users\burak\Desktop>