use Catalyst::EngineLoader;
use Moose::Util::TypeConstraints;
use Catalyst::Utils qw/ ensure_class_loaded /;
+use Class::Load 'load_class';
use namespace::autoclean;
subtype 'Catalyst::ScriptRole::LoadableClass',
warn @_;
}
-=for Pod::Coverage
- print_usage_text
-=cut
sub print_usage_text {
my $self = shift;
pod2usage();
sub _run_application {
my $self = shift;
my $app = $self->application_name;
- Class::MOP::load_class($app);
+ load_class($app);
my $server;
if (my $e = $self->_plack_engine_name ) {
$server = $self->load_engine($e, $self->_plack_loader_args);
The method invoked to run the application.
+=head2 print_usage_text
+
+Prints out the usage text for the script you tried to invoke.
+
=head1 ATTRIBUTES
=head2 application_name