use Devel::PartialDump;
use Scalar::Util qw(blessed);
-our $VERSION = '0.13';
+our $VERSION = '0.16';
our $AUTHORITY = 'cpan:JJNAPIORK';
=head1 NAME
@$type_constraints : ();
my $overflow_handler;
- if(blessed $type_constraints[-1]
+ if($type_constraints[-1] && blessed $type_constraints[-1]
&& $type_constraints[-1]->isa('MooseX::Types::Structured::OverflowHandler')) {
$overflow_handler = pop @type_constraints;
}
@$type_constraints : ();
my $overflow_handler;
- if(blessed $type_constraints[-1]
+ if($type_constraints[-1] && blessed $type_constraints[-1]
&& $type_constraints[-1]->isa('MooseX::Types::Structured::OverflowHandler')) {
$overflow_handler = pop @type_constraints;
}
Want to break out the examples section to a separate cookbook style POD.
Want more examples and best practice / usage guidance for authors
Need to clarify deep coercions,
-Need to clarify subtypes of subtypes.
=head1 AUTHOR
+Copyright 2008-2009, John Napiorkowski <jjnapiork@cpan.org>
+
John Napiorkowski, C<< <jjnapiork@cpan.org> >>
+=head1 CONTRIBUTORS
+
+The Following people have contributed to this module:
+
+ Florian Ragwitz, C<< <rafl@debian.org> >>
+ Yuval Kogman, C<< <nothingmuch@woobling.org> >>
+
=head1 COPYRIGHT & LICENSE
+Copyright 2008-2009, John Napiorkowski <jjnapiork@cpan.org>
+
This program is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.