[jifty-devel] jifty on bleadperl trips over UNIVERSAL::require

Kevin Falcone falcone at bestpractical.com
Tue Jun 12 11:59:42 EDT 2007

On Jun 12, 2007, at 2:39 AM, Andreas J. Koenig wrote:

> Has anybody successfully run Jifty on bleadperl? Does anybody know why
> it fails so quickly with

I haven't tried, but its building now.

> /usr/local/perl-p-5.8.0 at 31362/bin/perl /usr/local/perl- 
> p-5.8.0 at 31362/bin/jifty server
> UNIVERSAL::require() can only be run as a class method at /usr/ 
> local/perl-p-5.8.0 at 31362/lib/site_perl/5.9.5/UNIVERSAL/require.pm  
> line 76.
> BEGIN failed--compilation aborted at /usr/local/perl-p-5.8.0 at 31362/ 
> lib/site_perl/5.9.5/Jifty/Plugin/SkeletonApp/View.pm line 7.
> Compilation failed in require at /usr/local/perl-p-5.8.0 at 31362/lib/ 
> site_perl/5.9.5/Jifty/Util.pm line 240.
> Is UNIVERSAL::require used seriously or is it an accident?

We use UNIVERSAL::require quite a bit

The line that dies boils down to this

use constant BaseClass => 'Jifty::View::Declare::BaseClass';

UNIVERSAL::require checks BaseClass with ref() I'm wondering if that  
return value changed in blead

/me waits for compilation to finish up

Thanks for the heads up


More information about the jifty-devel mailing list