On Fri, 8 Dec 2000, Bruce W. Hoylman wrote:

> >>>>> "Dave" == Dave Rolsky <[EMAIL PROTECTED]> writes:
>
>     Dave> On Thu, 7 Dec 2000, martin langhoff wrote:
>     >> I wonder how do those hardcore guys that develop using handlers
>     >> debug.  Mhhh. They must write 'perlfect' code, I guess, and/or
>     >> understand those cryptic debuggers ...
>
>     Dave> I just do a lot of debugging via warn statements and looking
>     Dave> at the error logs.
>
> My BEGIN block looks like this.  I realize IO is rather bulky, but I
> like it and the environment I'm in isn't *that* busy where it makes a
> significant impact.
>
> BEGIN {
>
>   # Wash the PATH.
>   $ENV{'PATH'} = '/opt/gnu/bin:/usr/local/bin:/usr/bin';
>   $ENV{'CDPATH'} = '';
>   $ENV{'ENV'} = '';
>
>   use IO::File;
>   use CGI::Carp qw(carpout fatalsToBrowser carp);
                             ^^^^^^^^^^^^^^^

Bye bye exception handling.

-- 
<Matt/>

    /||    ** Director and CTO **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // **     Personal Web Site: http://sergeant.org/     **
     \\//
     //\\
    //  \\


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to