in reply to Re: perl -T script.pl and #!/usr/bin/perl -T conflict
in thread perl -T script.pl and #!/usr/bin/perl -T conflict

Neat related idea (and you know, I have princepawn to thank for making me think about this in the first place) -- you could also have a batch file (as you explained in the CB, you're worried about porting to win32), that calls perl.exe -T %1 (or however that's done =), call it (say) perlrun.bat, stick it in your PATH, and call the script as perlrun script.pl

Philosophy can be made out of anything. Or less -- Jerry A. Fodor