[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Use of uninitialized value?



On Sun, Jun 04, 2000 at 10:15:58PM -0500, Matthew Langford wrote:
> 
> Is it just me, or is this the most frustrating warning to debug?

For any of the perl related warning and error messages, I just type
something the following line into the debugger:

@SIG{__WARN__,__DIE__} = ( sub { $DB::single++} ) x 2

It tells the debugger to break following each warning or error.

It also breaks on exceptions, which if it is not desired can be fixed
by testing $^S inside the handler.


-- 
Andrew Langmead

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org