File: CodeContainer.pm

package info (click to toggle)
libobject-remote-perl 0.004000-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 488 kB
  • ctags: 248
  • sloc: perl: 2,408; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 149 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
package Object::Remote::CodeContainer;

use Moo;

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

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

1;