projects
/
scpubgit/Object-Remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
implement optional watchdog for remote connections
[scpubgit/Object-Remote.git]
/
lib
/
Object
/
Remote
/
Connector
/
Local.pm
diff --git
a/lib/Object/Remote/Connector/Local.pm
b/lib/Object/Remote/Connector/Local.pm
index
a2e52b0
..
838bd5d
100644
(file)
--- a/
lib/Object/Remote/Connector/Local.pm
+++ b/
lib/Object/Remote/Connector/Local.pm
@@
-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;