Fix perltidy test

This commit is contained in:
Duncan Ferguson 2017-03-16 22:30:41 +00:00
parent 3e3ed2c1cc
commit 7a08f3239e

View file

@ -40,7 +40,8 @@ sub new {
$self->read_ssh_file( $self, $self->{ssh_config} ); $self->read_ssh_file( $self, $self->{ssh_config} );
$self->debug( 5, 'Have the following ssh hostnames' ); $self->debug( 5, 'Have the following ssh hostnames' );
$self->debug( 5, ' "', $_, '"' ) foreach ( sort keys %ssh_hostname_for ); $self->debug( 5, ' "', $_, '"' )
foreach ( sort keys %ssh_hostname_for );
} }
return $self; return $self;
@ -70,8 +71,7 @@ sub read_ssh_file($$) {
close($ssh_config_fh); close($ssh_config_fh);
} }
else { else {
$self->debug( 3, 'Unable to read ', $self->debug( 3, 'Unable to read ', $filename, ': ', $!, $/ );
$filename, ': ', $!, $/ );
} }
} }