Initial commit of Moosified Catalyst parts.
[catagits/Catalyst-Runtime.git] / lib / Catalyst / ActionChain.pm
index 2fd63d9..60fd6db 100644 (file)
@@ -1,8 +1,9 @@
 package Catalyst::ActionChain;
 
-use strict;
-use base qw/Catalyst::Action/;
+use Moose;
+extends qw(Catalyst::Action);
 
+has chain => (is => 'rw');
 
 =head1 NAME
 
@@ -20,8 +21,6 @@ the actions in the chain in order.
 
 =cut
 
-__PACKAGE__->mk_accessors(qw/chain/);
-
 use overload (
 
     # Stringify to reverse for debug output etc.
@@ -79,7 +78,9 @@ actions in order.
 Takes a list of Catalyst::Action objects and constructs and returns a
 Catalyst::ActionChain object representing a chain of these actions
 
-=cut
+=head2 meta
+
+Provided by Moose
 
 =head1 AUTHOR