my %hash = ( name => 'stv_copy_key', version => $VERSION, opt_spec => [qw( host=s list_pollers all_pollers )], db_connection => [qw/ poller /], handler => sub { StatView::CopySSHKey::run (@_) }, ); StatView::Script->new( \%hash );