Subject: | Error::Simple is not usable in base.pm |
Error::Simple is pretty much exactly what I want as a base class for my
exceptions, except that Error::Simple is defined in the main error
package, and not in it's own module file.
This means that the following won't work
use base 'Error::Simple';
You have to instead load Error first as an additional step before you
can inherit from it.
use Error ();
use base 'Error::Simple';
Please consider breaking the Error::Simple out into a seperate file
(which you can still load at the same time as Error.pm) so that it is
possible to inherit from Error::Simple directly.