Syntactic Confectionery Delight | |
PerlMonks |
Re^2: Do you use an exception class in your Perl programs? Why or why not?by TGI (Parson) |
on Mar 15, 2010 at 04:59 UTC ( [id://828632]=note: print w/replies, xml ) | Need Help?? |
Parsing strings is fragile and error prone. Imagine if we had to pass our subroutine arguments and return values as strings. Without exception objects, that it the situation with exceptions. It really bothers me that I have to parse a string to identify an exception type. Especially since the raw data that produced the string should be available. This is the fundamental reason I've been obsessing about exceptions lately.
In Section
Meditations
|
|