Last active
February 27, 2018 17:38
-
-
Save avar/e370f1ce76e7e9dc1353175fdebe1754 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub meth { | |
return unless my $self = instance(); | |
return unless my $can = $self->yes_I_can; | |
return unless my $worker = $self->get_worker($can); | |
return $worker->work; | |
} | |
sub meth { | |
my $self = instance() or return; | |
my $can = $self->yes_I_can or return; | |
my $worker = $self->get_worker($can) or return; | |
return $worker->work; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment