implement optional watchdog for remote connections
[scpubgit/Object-Remote.git] / lib / Object / Remote / Connector / Local.pm
index a2e52b0..838bd5d 100644 (file)
@@ -9,7 +9,10 @@ no warnings 'once';
 BEGIN {  }
 
 push @Object::Remote::Connection::Guess, sub {
-  if (($_[0]||'') eq '-') { __PACKAGE__->new }
+  if (($_[0]||'') eq '-') {
+      shift(@_); 
+      __PACKAGE__->new(@_); 
+  }
 };
 
 1;