Skip to content

Instantly share code, notes, and snippets.

@avar

avar/553210331714069.pl

Last active Feb 27, 2018
Embed
What would you like to do?
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