Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^5: determine the variable causing the error: Use of uninitialized value

by AnomalousMonk (Archbishop)
on Apr 14, 2017 at 04:14 UTC ( [id://1187908]=note: print w/replies, xml ) Need Help??


in reply to Re^4: determine the variable causing the error: Use of uninitialized value
in thread determine the variable causing the error: Use of uninitialized value

... 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:  <%-{-{-{-<

  • Comment on Re^5: determine the variable causing the error: Use of uninitialized value
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1187908]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-18 12:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found