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( { @_ } );
}
my ( $self, $action, $svc_acct) = (shift, shift, shift);
my $command = $self->option($action);
my $stdin = $self->option($action."_stdin");
+ no strict 'vars';
{
no strict 'refs';
${$_} = $svc_acct->getfield($_) foreach $svc_acct->fields;
my($self, $new, $old ) = (shift, shift, shift);
my $command = $self->option('usermod');
my $stdin = $self->option('usermod_stdin');
+ 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( { @_ } );
}
my $command = $self->option($action);
#set variable for the command
+ no strict 'vars';
{
no strict 'refs';
${$_} = $svc_www->getfield($_) foreach $svc_www->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( { @_ } );
}