File: object-remote-slave

package info (click to toggle)
libobject-remote-perl 0.004004-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 520 kB
  • sloc: perl: 2,395; makefile: 10
file content (14 lines) | stat: -rw-r--r-- 287 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env perl

use strictures 1;
use Object::Remote::Connector::UNIX;
use Object::Remote;

my $c = Object::Remote::Connector::UNIX->new->connect($ARGV[0]);

$c->register_class_class_handler;

$c->remote_object(id => 'master')->register_slave(
  pid => $$,
  argv => \@ARGV
)->run;