[Catalyst] UNIVERSAL:require:ERROR

Sebastian Riedel sri at oook.de
Sun Mar 13 01:14:04 CET 2005

Jose Nyimi wrote:

> $engine->require;
> die qq/Couldn't load engine "$engine", "[email protected]"/ if [email protected];
> I would suggest to replace [email protected] by $UNIVERSAL::require::ERROR
> To make it clear that you are using the UNIVERSAL::require module here 
> and not the eval “require $engine”; approach.
> I’m also wondering if [email protected] will contain the correct value since “eval” 
> is not in the scene ;)
UNIVERSAL::require is just a plain wrapper around eval/CORE::require, 
i'm lazy so i prefer [email protected] ;)


More information about the Catalyst mailing list