remoting works
[scpubgit/Object-Remote.git] / lib / Object / Remote / Connector / Local.pm
index c57d07d..72a153f 100644 (file)
@@ -12,4 +12,8 @@ sub _open2_for {
   return ($its_stdin, $its_stdout, $pid);
 }
 
+push @Object::Remote::Connection::Guess, sub {
+  if (($_[0]||'') eq '-') { __PACKAGE__->new->connect }
+};
+
 1;