The other approach is also pretty good, and it's to use the debugger, set a breakpoint on that line, and to use x $a to print the value of the variable in question at that point.
It might be worth exploring how to make the warning a little more explicit, but since there are a lot of things that can produce an undefined value, it may be quite complex.
In reply to Re: uninitialized value
by chromatic
in thread uninitialized value
by Cine
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |