}
{
-
package App;
use Moose;
with 'MooseX::Getopt::Strict';
has 'data' => (
- metaclass => 'Getopt',
+ traits => ['Getopt'],
is => 'ro',
isa => 'Str',
default => 'file.dat',
);
has 'cow' => (
- metaclass => 'Getopt',
+ traits => ['Getopt'],
is => 'ro',
isa => 'Str',
default => 'moo',