Hi,

On the use of Exceptions in P5EE, Perrin Harkins mentioned
in his article about the e-Toys mod_perl installation that he
used Graham Barr's "Error" class (which I could find nowhere
on CPAN).

   http://www.perl.com/pub/a/2001/10/17/etoys.html?page=3

Meanwhile, Brian Moseley used "Exception::Class" in his port
of the Servlet API to Perl.


http://libservlet.sourceforge.net/conversion_details.html#exception+handling

Is there a consensus on what exception class/framework we should
be using in P5EE?

This creates another question...
If we build dependencies into the standard P5EE components,
such as exception handling using Exception::Class, would it be
appropriate to create a "P5EE::Lang" component which is mainly
documentation, which describes the "language-level" features
that all P5EE components can rely on?

Paul Kulchenko identified these dependencies as being "beneath"
P5EE in a "core" or "standard" set of components.

   http://archive.develooper.com/p5ee%40perl.org/msg00095.html

Perhaps this analysis gives rise to the following two P5EE
packages:

   P5EE::Lang
   P5EE::Standard

Again, these would not represent "new code", but rather POD
documentation on the "language-level" and "standard" services
which all P5EE component code can rely on.

Stephen
http://www.officevision.com/pub/p5ee


Reply via email to