in reply to Re: Forgetting your good education
in thread Writing a perl quiz. Need advice.

Okay, I agree that replacing fatalsToBrowser with something like fatalsToMyLogFile might be even better. But my point still is true :).

Replies are listed 'Best First'.
Re: Re: Forgetting your good education
by ihb (Deacon) on Mar 08, 2003 at 19:28 UTC
    Uhm, isn't "fatalsToMyLogFile" default behaviour under just about every webserver there is? I only have (some) experience with apache and afaik fatals do end up in the error log on apache.

      Yes, but not everyone has access to their webserver's error log file... (think accounts on most hosting providers)

        Then create your own logfile. Something like:
        BEGIN { open STDERR, ">>/home/myowndir/errorlogs.txt"; }