perl will only check for shebangs containing a -T flag. It will only check a comment on the very first line it parses, so not in modules or on the second line etcetera.
If you have a shebang using -T, perl will die stating
Too late for "-T" option at foo line 1. if you run perl yourself (
perl foo.pl).
2;0 juerd@ouranos:~$ perl -e'undef christmas'
Segmentation fault
2;139 juerd@ouranos:~$