laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Style Point: Catching eval { } errorsby DapperDan (Pilgrim) |
on Nov 25, 2003 at 19:24 UTC ( [id://310030]=note: print w/replies, xml ) | Need Help?? |
I don't remember seeing any reference to this in the documentation for eval. If their were I would have used it.
Perhaps it should be there? It seems to me that eval {} or do {} is the perfect idiom for using eval with exceptions.
In Section
Meditations
|
|