HostName [remote hostname]
User [remote username]
IdentityFile [file]
[alias] is what you type to select the connection, e.g. ssh [alias]
[file] is your DSA or RSA private key file
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.
my
$mock
= Test::MockModule->new(
"MyModule"
);
$mock
->redefine(
"something"
,
sub
{
my ($self, $args) = @_;
push @record_for_testing_later, $args;
return
$mock
->original(
@_
);
});
my $mock = qtakeover 'Some::Module' => (
id => sub {
my ( $mock_self, @args ) = @_;
$counter->{id}++ if scalar @args;
return $mock_self->MQ_CONTROL->original('id')->( $mock_self, @args );
},
);