diff options
Diffstat (limited to 'lib/Getopt/Dakkar/ArgPack.pm')
-rw-r--r-- | lib/Getopt/Dakkar/ArgPack.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Getopt/Dakkar/ArgPack.pm b/lib/Getopt/Dakkar/ArgPack.pm index ee710e0..4337ce4 100644 --- a/lib/Getopt/Dakkar/ArgPack.pm +++ b/lib/Getopt/Dakkar/ArgPack.pm @@ -7,5 +7,5 @@ use Getopt::Dakkar::Style qw(class); has getopt => ( is => 'ro', required => 1, weak_ref => 1 ); -has options => ( is => 'ro' ); -has arguments => ( is => 'ro' ); +has options => ( is => 'ro', isa => HashRef, default => sub { +{} } ); +has arguments => ( is => 'ro', isa => HashRef, default => sub { +{} } ); |