Subject: | warning leaves one feeling uncomfortable |
A simple test app gives the following error:
nicholas@beaumont:~/debian/exp/moosex$ ./app2 --dry-run
Use of uninitialized value in list assignment at
/usr/share/perl5/MooseX/Getopt/Basic.pm line 135.
The same app with just MooseX::Getopt has no such error. Both versions
attached.
Subject: | App2.pm |
package App2;
use Moose;
with 'MooseX::Getopt::Usage';
has 'dry-run' => (
is => 'ro',
isa => 'Bool',
default => 0,
documentation => qq{Just say what we would do; not actually do it.},
);
1
Subject: | app2 |
Message body not shown because it is not plain text.
Subject: | App1.pm |
package App1;
use Moose;
with 'MooseX::Getopt';
has 'dry-run' => (
is => 'ro',
isa => 'Bool',
default => 0,
documentation => qq{Just say what we would do; not actually do it.},
);
1
Subject: | app1 |
Message body not shown because it is not plain text.