At 14.04 -0400 1999.04.20, Matthew Wickline wrote: >I've got a three line script that's bothering me: > >#!/usr/bin/perl -Tw >#!C:/Perl/bin/perl.exe -Tw >exit; > >If I syntax check that I get "too late for -T" >However, if I switch the order of the first two lines, I get >no errors. When you do that, MacPerl does not recognize the -T at all, so that's why you don't get a warning. :) >MacPerl is set to check the #! line. >MacPerl version is 5.2.0r4 > >anyone know what's going on here? I'm on digest and curious >enough that an email CC of any responses would be >appreciated as it would help me figure it out that much >faster :) It is complicated to explain (we tried to do it in the CGI Script chapter of the book), but the bottom line is that you have to use the Taint Checks menu item. If you send the script to MacPerl through Apple events, you can enable taint checks in the Apple events (I forget the syntax). For CGI Scripts, you can use the special CGI Script (Taint Check) extension on my site. -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org