NAME
Getopt::Kingpin::Type::Enum - command line option object
SYNOPSIS
use
Getopt::Kingpin;
my
$kingpin
= Getopt::Kingpin->new;
my
$member
=
$kingpin
->flag(
'member'
,
'select member name'
)->Enum(
'foo'
,
'bar'
,
'baz'
);
$kingpin
->parse;
printf
"member name : %s\n"
,
$member
;
DESCRIPTION
Getopt::Kingpin::Type::Enum is the type definition for Enum within Getopt::Kingpin.
METHOD
set_value($value)
Set the value of $self->value.
LICENSE
Copyright (C) sago35.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
sago35 <sago35@gmail.com>