Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (13 sloc) 215 Bytes
#!perl -T
use Test::More tests => 1;
use methods-invoker;
method moose () {
$self->foo;
}
method foo () {
$->bar;
}
method bar () {
ok(1, '$->method and $self->method both works');
}
__PACKAGE__->moose;
Jump to Line
Something went wrong with that request. Please try again.