Revision history for MooseX-Types-Structured
+0.26 02 January 2010
+ - removed version from Test::Fatal as asked by the debian folks
+ - small documentation updates
+
0.25 28 December 2010
- fixed bug where ->is_subtype_of dies meaninglessly when the type we
are trying to check is not a type we can find. This makes our
name = MooseX-Types-Structured
-version = 0.25
+version = 0.26
author = John Napiorkowski <jjnapiork@cpan.org>
author = Florian Ragwitz <rafl@debian.org>
author = Yuval Kogman <nothingmuch@woobling.org>
[Prereqs / BuildRequires]
Test::More = 0.94
-Test::Fatal = 0.003
+Test::Fatal = 0
package MooseX::Types::Structured::MessageStack;
use Moose;
+=attr level
+
+=cut
+
has 'level' => (
traits => ['Counter'],
is => 'ro',
},
);
+=attr messages
+
+=cut
+
has 'messages' => (
traits => ['Array'],
is => 'ro',
},
);
+=method as_string
+
+=cut
+
sub as_string {
my @messages = (shift)->all_messages;
my @flattened_msgs = map {