opts
view release on metacpan or search on metacpan
"Test::PAUSE::Permissions" : "0.07",
"Test::Pod" : "1.41",
"Test::Spellunker" : "v0.2.7",
"Version::Next" : "0"
}
},
"runtime" : {
"requires" : {
"Filter::Util::Call" : "0",
"Getopt::Long" : "2.37",
"PadWalker" : "1.9",
"Text::Table" : "0"
}
}
},
"provides" : {
"opts" : {
"file" : "lib/opts.pm",
"version" : "0.08"
}
},
- examples
- author
- builder
provides:
opts:
file: lib/opts.pm
version: '0.08'
requires:
Filter::Util::Call: '0'
Getopt::Long: '2.37'
PadWalker: '1.9'
Text::Table: '0'
resources:
bugtracker: https://github.com/kan/p5-opts/issues
homepage: https://github.com/kan/p5-opts
repository: https://github.com/kan/p5-opts.git
version: '0.08'
x_contributors:
- 'Chris Weyl <cweyl@alumni.drew.edu>'
- 'Geoff Franks <geoff@niftylogic.com>'
- 'Kan Fushihara <kan.fushihara@gmail.com>'
requires 'Filter::Util::Call';
requires 'Getopt::Long', '2.37';
requires 'PadWalker', '1.9';
requires 'Text::Table';
on build => sub {
requires 'ExtUtils::MakeMaker', '6.36';
requires 'Test::Module::Used';
requires 'Test::Perl::Critic';
requires 'Test::Exception';
};
on 'develop' => sub {
lib/opts.pm view on Meta::CPAN
package opts;
use strict;
use warnings;
our $VERSION = '0.08';
use Exporter 'import';
use PadWalker qw/var_name/;
use Getopt::Long;
use Carp ();
our @EXPORT = qw/opts/;
our $TYPE_CONSTRAINT = {
'Bool' => '!',
'Str' => '=s',
'Int' => '=i',
'Num' => '=f',
( run in 0.678 second using v1.01-cache-2.11-cpan-05444aca049 )