"superfly2" <com> wrote in message news:<bkfpl5$9aq$Stanford.EDU>...
I don't know if this will work for what you're doing, but one helpful
trick I've been using is to wrap all my "interesting" script code in
an eval block, then trap the error message and shunt it to an error
whineAndDie($) if $;
.. . . where "whineAndDie" is a subroutine that logs the error message
and sends the user an error page with that error message featured
Makes it a hell of a lot easier to diagnose unexpected runtime errors.
-- Pete Butler...