X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fdomain_shellcommands.pm;h=5b3cd5d7960b5564484c203c9bfd016fd3a0eb01;hb=fa6635340ee1841271ba70594aeb2353e3793105;hp=d2f55e5aded547c00e36d3e7acec9de6cb4d845a;hpb=eb6cb474f653dc738b26c9f8ca9b43e9b6f1e546;p=freeside.git diff --git a/FS/FS/part_export/domain_shellcommands.pm b/FS/FS/part_export/domain_shellcommands.pm index d2f55e5ad..5b3cd5d79 100644 --- a/FS/FS/part_export/domain_shellcommands.pm +++ b/FS/FS/part_export/domain_shellcommands.pm @@ -23,6 +23,7 @@ sub _export_command { my $command = $self->option($action); #set variable for the command + no strict 'vars'; { no strict 'refs'; ${$_} = $svc_domain->getfield($_) foreach $svc_domain->fields; @@ -53,6 +54,7 @@ sub _export_replace { my $command = $self->option('usermod'); #set variable for the command + no strict 'vars'; { no strict 'refs'; ${"old_$_"} = $old->getfield($_) foreach $old->fields; @@ -100,7 +102,7 @@ sub shellcommands_queue { } sub ssh_cmd { #subroutine, not method - use Net::SSH '0.06'; + use Net::SSH '0.07'; &Net::SSH::ssh_cmd( { @_ } ); }