good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: What operator should perl5porters use for safe dereferencing?by Jenda (Abbot) |
on May 29, 2012 at 14:49 UTC ( [id://973041]=note: print w/replies, xml ) | Need Help?? |
eval{} surely works. But it works too well. Far too well! It'll happily eat any exception whatsoever. Sure you will be able to tell whether it's the kind of exception that happens when calling a method on an undef, but will it be one of the calls you have here or is it somewhere deep down within one of the methods? <!-- Node text goes above. Div tags should contain sig only - ->Jenda
In Section
Past Polls
|
|