App-aep
view release on metacpan or search on metacpan
}
# Return the map
$opt_map;
};
my @opt_spec = (
[
'command-restart=i',
'maximum number of command restarts',
{
'callbacks' => {
'is_positive' => sub { _check_positive_number( shift ) },
},
},
],
[
'config-file=s',
'specify a configuration file to use',
{
'callbacks' => {
'exists' => sub { _check_exists( shift ) },
},
},
],
);
# Read in our options
my ( $opt, $usage ) = describe_options( @opt_desc, @opt_spec );
if ( $opt->help )
( run in 0.341 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )