use lib "$Bin/../lib";
use Pod::Usage;
use Moose;
-use namespace::clean -except => [ qw(meta) ];
+use namespace::autoclean -except => [ qw(meta) ];
with 'MooseX::Getopt';
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,
- }
+ }
);
}