Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^5: determine the variable causing the error: Use of uninitialized valueby AnomalousMonk (Archbishop) |
on Apr 14, 2017 at 04:14 UTC ( [id://1187908]=note: print w/replies, xml ) | Need Help?? |
... your suggested approach is highly inefficient and not useful at all in my situation. Of course, I have no idea what your situation is, but my post was motivated by the conviction that some measure of data validation is essential in any data processing application, however time-consuming it may be. ... I'm not looking for any type of methodology to circumvent or prevent the error from happening ... [is it] possible (without writing any specific checking code) to know the name of the variable that produces the error ... But if you're not going to prevent or handle the warning in any way, what do you care about the name of the variable? Just suppress the warning. But again, you know your business best... Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|