Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (27 sloc) 0.453 kB
#!/usr/bin/perl
use strict; use warnings;
use Test::More tests => 1;
{
package Getty;
use Moose::Role;
}
{
package Pants;
use MooseX::POE::Role;
event 'wear' => sub {
::pass("I AM BEING WORN!");
};
}
{
package Clocks;
use MooseX::POE;
with 'Pants', 'Getty';
sub bork {
my ($self) = @_;
::pass('bork');
$self->yield('wear');
}
}
my $c = Clocks->new;
$c->bork;
POE::Kernel->run;
Jump to Line
Something went wrong with that request. Please try again.