diff options
Diffstat (limited to 'lib/Getopt/Dakkar/Role/Piece.pm')
-rw-r--r-- | lib/Getopt/Dakkar/Role/Piece.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Getopt/Dakkar/Role/Piece.pm b/lib/Getopt/Dakkar/Role/Piece.pm index d981095..144f9e7 100644 --- a/lib/Getopt/Dakkar/Role/Piece.pm +++ b/lib/Getopt/Dakkar/Role/Piece.pm @@ -3,6 +3,7 @@ use Getopt::Dakkar::Style qw(role); # VERSION # ABSTRACT: a piece +has name => ( is => 'ro', isa => Str, required => 1 ); has class => ( is => 'ro', isa => ClassName, default => 'Getopt::Dakkar::Stash' ); has object => ( is => 'ro', isa => Object ); has op => ( is => 'ro', isa => Str|CodeRef ); |