[Bps-public-commit] r15280 - in Prophet/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Wed Aug 20 05:39:07 EDT 2008


Author: sartak
Date: Wed Aug 20 05:39:06 2008
New Revision: 15280

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/App.pm
   Prophet/trunk/lib/Prophet/CLI.pm

Log:
 r69852 at onn:  sartak | 2008-08-20 05:38:50 -0400
 Don't require the app class, assume the subclass is loading it


Modified: Prophet/trunk/lib/Prophet/App.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/App.pm	(original)
+++ Prophet/trunk/lib/Prophet/App.pm	Wed Aug 20 05:39:06 2008
@@ -72,7 +72,6 @@
 sub require {
     my $self = shift;
     my $class = shift;
-    return undef unless $class;
     $self->_require(module => $class);
 }
 

Modified: Prophet/trunk/lib/Prophet/CLI.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI.pm	(original)
+++ Prophet/trunk/lib/Prophet/CLI.pm	Wed Aug 20 05:39:06 2008
@@ -28,7 +28,6 @@
     lazy    => 1,
     handles => [qw/handle resdb_handle config/],
     default => sub {
-        $_[0]->app_class->require;
         return $_[0]->app_class->new;
     },
 );



More information about the Bps-public-commit mailing list