further detail OR->connect arguments, and document other bits
[scpubgit/Object-Remote.git] / lib / Object / Remote / Connector / Local.pm
CommitLineData
9e72f0cf 1package Object::Remote::Connector::Local;
2
9e72f0cf 3use Moo;
4
a9fdb55e 5with 'Object::Remote::Role::Connector::PerlInterpreter';
9e72f0cf 6
7efea51f 7no warnings 'once';
8
9031635d 9BEGIN { }
10
84b04178 11push @Object::Remote::Connection::Guess, sub {
c824fdf3 12 if (($_[0]||'') eq '-') {
55c0d020 13 shift(@_);
14 __PACKAGE__->new(@_);
c824fdf3 15 }
84b04178 16};
17
9e72f0cf 181;
4e25b1fd 19
20=head1 NAME
21
22Object::Remote::Connector::Local - A connector for a local Perl process
23
8dbf62a5 24=head1 DESCRIPTION
25
26Used to create a connector that talks to a Perl process started on the local
27machine. Invoked by L<Object::Remote/connect> if the connection spec is C<->.
28
4e25b1fd 29=head1 ARGUMENTS
30
31Inherits arguments from L<Object::Remote::Role::Connector::PerlInterpreter> and
32provides no own arguments.
33
34=cut