Re: [Maypole] require'ing generated classes

From: Paul Makepeace (netthink.co.uk at paulm.com)
Date: Thu Oct 07 2004 - 17:46:12 BST


Je 2004-10-06 17:41:08 +0100, Simon Cozens skribis:
> Paul Makepeace:
> > $user_class->require || die "Couldn't load user class $user_class";
> > The user_class is generated by CDBI::Loader.
>
> Unless you set it to something else, yes.

Sorry, hastily constructed last email.

The classes are constructed with CDBI::Loader so can't then be
->require'd (AIUI).

Should there thus be a check in this module for "$user_class\::", or
should CDBI::Loader be setting %INC or ... something else?

Paul

-- 
Paul Makepeace .............................. http://paulm.com/inchoate/

"What is a monkey's supper list? Opulent scrotum wax." -- http://paulm.com/toys/surrealism/

_______________________________________________ maypole mailing list maypole at lists.netthink.co.uk http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT