The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package Object::Remote::CodeContainer;

use Moo;

has code => (is => 'ro', required => 1);

sub call {
  my $self = shift;
  $self->code->(@_)
}

1;