App-assh
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/App/assh.pm view on Meta::CPAN
has ports_config_file => (
is => 'ro',
isa => Str,
default => sub {
"$ENV{HOME}/.autossh_rc"
},
);
method _build_hosts {
$_ = do { local(@ARGV, $/) = $->ssh_config_file; <>; };
s/\s+/ /g;
my $ret = {};
while (m<Host\s(.+?)\sHostName\s(.+?)\sUser\s(.+?)\s>xg) {
$ret->{$1} = { NAME => $2, USER => $3 }
}
return $ret;
}
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.329 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )