Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

making CHILD and PARENT methods work

  • Loading branch information...
commit 3d360ad39de4aab79ee99bee776728adf6b5c385 1 parent 6490dc8
Sawyer X authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 lib/MooseX/POE/Meta/Trait/Object.pm
8 lib/MooseX/POE/Meta/Trait/Object.pm
View
@@ -15,6 +15,8 @@ sub new {
$self->meta->get_all_events,
STARTALL => 'STARTALL',
_stop => 'STOPALL',
+ _child => 'CHILD',
+ _parent => 'PARENT',
},
],
args => [$self],
@@ -52,8 +54,10 @@ sub STOPALL {
}
}
-sub START { }
-sub STOP { }
+sub START { }
+sub STOP { }
+sub CHILD { }
+sub PARENT { }
# __PACKAGE__->meta->add_method( _stop => sub { POE::Kernel->call('STOP') } );
Please sign in to comment.
Something went wrong with that request. Please try again.