On Friday, October 11, 2002, at 12:05  PM, Mark Aisenberg wrote:

> You cite CPAN modules as
> a place to find examples of good style; my experience is that many CPAN
> modules are poorly written, almost devoid of comments, hard-wired to
> assume Unix, etc.  One wonderful example of CPAN module idiocy is that
> many of the modules 'die' on errors rather than trapping and returning
> on them. How useful is that to a CGI programmer, e.g.?

Not necessarily a bad thing IF the exceptions are documented so that
the caller knows what to expect, and can wrap the call in an eval.
(But how often does this happen?)

_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to