> Wiggins d'Anconia wrote: > > > use strict; # always > > use warnings;# usually > > Why not always? I would make it: > > use strict; # always > use warnings; # always >
I won't argue with you over them. I always do both... some people don't like that "always" on the warnings, so I use the "usually". I disagree about warnings being more important than stricture, but again that isn't likely to lead us anywhere important considering we both agree that they are both helpful and should be on :-). Though I do seem to have a problem and maybe someone here can enlighten me or suggest why or a fix about the warnings when running under CGI. If I have a script that generates X number of warnings then Apache or the script seems to hang in an infinite loop and does not return any result, despite the fact that the script will execute to completion. I generally have to kill the runaway process, then once I have fixed the warnings (that appear normally on STDERR in the apache error log) the script works fine with no further changes. Any ideas why warnings going to the error log would hang the process? http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>