On Wed, 7 Jul 2004, alberto_schiano wrote: > As Randal Schwartz always says... > '... > =1= #!/usr/bin/perl -Tw > =2= use strict; > =3= $|++; > Lines 1 through 3 start nearly every program I write, turning on taint mode > (good for CGI programs), warnings (good for catching stupid mistakes), > compiler restrictions (good for catching more stupid mistakes) and disabling > buffering on STDOUT (good for CGI programs). > ...'
Welcome to the cargo cult! Did you know that turning off buffering will usually slow down your CGI scripts? It's definitely not something you should be turning off all the time! -sam --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
