projects
/
scpubgit/Object-Remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
callback calling
[scpubgit/Object-Remote.git]
/
lib
/
Object
/
Remote
/
CodeContainer.pm
diff --git a/lib/Object/Remote/CodeContainer.pm
b/lib/Object/Remote/CodeContainer.pm
new file mode 100644
(file)
index 0000000..
948e63b
--- /dev/null
+++ b/
lib/Object/Remote/CodeContainer.pm
@@ -0,0
+1,9
@@
+package Object::Remote::CodeContainer;
+
+use Moo;
+
+has code => (is => 'ro', required => 1);
+
+sub call { shift->code->(@_) }
+
+1;