in reply to Re^3: determine the variable causing the error: Use of uninitialized value
in thread determine the variable causing the error: Use of uninitialized value
You could use
{ local $SIG{__WARN__} = sub { ... }; eval { ... }; }
to trap the warning and do something special with it. However, I can't see that helping with identifying uninitialised values.
There's example code in perlvar: %SIG.
— Ken
|
|---|