[Catalyst] UNIVERSAL:require:ERROR

Jose Nyimi josenyimi at skynet.be
Sun Mar 13 14:20:32 CET 2005



> -----Message d'origine-----
> De : catalyst-bounces at lists.rawmode.org [mailto:catalyst-
> bounces at lists.rawmode.org] De la part de Sebastian Riedel
> Envoyé : dimanche 13 mars 2005 01:33
> À : catalyst at lists.rawmode.org
> Objet : Re: RE : [Catalyst] UNIVERSAL:require:ERROR
> 
> Jose Nyimi wrote:
> 
> >Note that $@ is being modified inside UNISERSAL::require
> >
> >
> Good argument, interested in making a patch?
> It's used in some more places too...
> 

Patch suggestion:

<actual>
$engine->require;
die qq/Couldn't load engine "$engine", "$@"/ if $@;
</actual>

<to_be>
die qq/Couldn't load engine $engine, $UNIVERSAL::require::ERROR/ unless
$engine->require;
</to_be>

BR,
José.





More information about the Catalyst mailing list