added documentation, surely needs refining
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Script / FastCGI.pm
index 289ad63..6cee858 100644 (file)
@@ -5,7 +5,7 @@ use FindBin qw/$Bin/;
 use lib "$Bin/../lib";
 use Pod::Usage;
 use Moose;
-use namespace::clean -except => [ qw(meta) ];
+use namespace::autoclean -except => [ qw(meta) ];
 
 with 'MooseX::Getopt';
 
@@ -21,19 +21,19 @@ has app         => ( isa => 'Str',    is => 'ro', required => 1 );
 
 sub run {
     my $self = shift;
-    
+
     pod2usage() if $self->help;
     my $app = $self->app;
     Class::MOP::load_class($app);
     $app->run(
         $self->listen,
-        {  
+        {
             nproc   => $self->nproc,
             pidfile => $self->pidfile,
             manager => $self->manager,
             detach  => $self->detach,
             keep_stderr => $self->keep_stderr,
-        }  
+        }
     );
 
 }