- or download this
subtype 'OptInt' => as 'Int';
subtype 'OptStr' => as 'Str';
- or download this
use Types::Standard qw(Maybe Str Int OptInt OptStr);
- or download this
has 'xxx' => (is => 'rw',
isa => (Maybe[OptInt])->plus_coercions(OptInt, sub{
+ undef }));
- or download this
Could not find sub 'OptInt' to export in package 'Types::Standard' at