X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote%2FConnector%2FSSH.pm;h=a90270f53c0e627c8a766127cf6c10f63e88b67a;hp=3d8956415e6a3367ddf24343054ce5002c1c28de;hb=7efea51f193cf42822232047403138ef98abcc32;hpb=a62879d1444eb136d8fb6530c51f74d2af45d83c diff --git a/lib/Object/Remote/Connector/SSH.pm b/lib/Object/Remote/Connector/SSH.pm index 3d89564..a90270f 100644 --- a/lib/Object/Remote/Connector/SSH.pm +++ b/lib/Object/Remote/Connector/SSH.pm @@ -11,6 +11,8 @@ around _perl_command => sub { return 'ssh', $target, $self->$orig($target); }; +no warnings 'once'; + push @Object::Remote::Connection::Guess, sub { for ($_[0]) { # 0-9 a-z _ - first char, those or . subsequent - hostnamish