summaryrefslogtreecommitdiff
path: root/lib/Getopt/Dakkar/Role/Value.pm
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2018-07-13 18:52:08 +0100
committerdakkar <dakkar@thenautilus.net>2018-07-13 18:52:08 +0100
commit9c7b213f58fe533953953e90b5bc77087ca4d45d (patch)
treec78cd04844a4ba1e92f1bf1dc29c14b3813e4bc7 /lib/Getopt/Dakkar/Role/Value.pm
parentI'm losing the plot, here (diff)
downloadGetopt-Dakkar-9c7b213f58fe533953953e90b5bc77087ca4d45d.tar.gz
Getopt-Dakkar-9c7b213f58fe533953953e90b5bc77087ca4d45d.tar.bz2
Getopt-Dakkar-9c7b213f58fe533953953e90b5bc77087ca4d45d.zip
we can now parse boolean optionsHEADmaster
Diffstat (limited to 'lib/Getopt/Dakkar/Role/Value.pm')
-rw-r--r--lib/Getopt/Dakkar/Role/Value.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Getopt/Dakkar/Role/Value.pm b/lib/Getopt/Dakkar/Role/Value.pm
new file mode 100644
index 0000000..ef4d4de
--- /dev/null
+++ b/lib/Getopt/Dakkar/Role/Value.pm
@@ -0,0 +1,7 @@
+package Getopt::Dakkar::Role::Value;
+use Getopt::Dakkar::Style qw(role);
+# VERSION
+# ABSTRACT: a value
+
+has name => ( is => 'ro', isa => Str, required => 1 );
+has value => ( is => 'ro', required => 1 );