my $command = $self->option($action);
#set variable for the command
+ no strict 'vars';
{
no strict 'refs';
${$_} = $svc_domain->getfield($_) foreach $svc_domain->fields;
my $command = $self->option('usermod');
#set variable for the command
+ no strict 'vars';
{
no strict 'refs';
${"old_$_"} = $old->getfield($_) foreach $old->fields;
}
sub ssh_cmd { #subroutine, not method
- use Net::SSH '0.06';
+ use Net::SSH '0.07';
&Net::SSH::ssh_cmd( { @_ } );
}