[jifty-devel] Classloader's loader
gaal at forum2.org
Wed Oct 25 14:28:21 EDT 2006
On Wed, Oct 25, 2006 at 09:36:12AM -0700, Jesse Vincent wrote:
> > Alternatively, we could simply subclass Module::Pluggable and
> > override its require() with the above sub(). This has the
> > distinct advantage of not messing with the namespaces
> > directly (but it is the moral equivalent).
> Yep. And talking to Simon (Author of M::P), that's the recommended
> path. Wanna give it a shot?
If it's its _immoral_ equivalent, then it doesn't work:
> On Sun, Oct 22, 2006 at 11:36:29AM +0200, Gaal Yahas wrote:
> This also breaks schema generation:
> % jifty schema --setup --drop-database
> Can't locate object method "words" via package "SQL::ReservedWords::ODBC"
> (perhaps you forgot to load "SQL::ReservedWords::ODBC"?) at
> /root/src/jifty/lib/Jifty/Script/Schema.pm line 24.
> Compilation failed in require at /usr/local/share/perl/5.8.8/App/CLI.pm
> line 106.
> Command not recognized, try /usr/local/bin/jifty --help.
> So apparently this interferes with M::P's loading. If anyone more
> familiar with that module can give this a gander, I'd be much obliged...
(Sorry, my tuits have been commandeered.)
Gaal Yahas <gaal at forum2.org>
More information about the jifty-devel