X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FGetopt%2FMeta%2FAttribute.pm;h=70aaa615a3687006273dc2d02afa009a5d4aa46c;hb=75c37b0c2063f0029600645a9dff111631b87816;hp=6a37acd32ac3cbf5c7c5bf15e6d11a64bbe7850c;hpb=195fb408a61ad34e0e41887b4f9f8dc384dd5da5;p=gitmo%2FMooseX-Getopt.git diff --git a/lib/MooseX/Getopt/Meta/Attribute.pm b/lib/MooseX/Getopt/Meta/Attribute.pm index 6a37acd..70aaa61 100644 --- a/lib/MooseX/Getopt/Meta/Attribute.pm +++ b/lib/MooseX/Getopt/Meta/Attribute.pm @@ -24,7 +24,7 @@ sub register_implementation { 'MooseX::Getopt::Meta::Attribute' } with 'MooseX::Getopt'; has 'data' => ( - metaclass => ['Getopt'], + metaclass => 'Getopt', is => 'ro', isa => 'Str', default => 'file.dat',