- depend on Net::SSH 0.07, for OpenSSH -T fix
[freeside.git] / FS / FS / part_export / www_shellcommands.pm
index 84c1627..e5b95dc 100644 (file)
@@ -23,6 +23,7 @@ sub _export_command {
   my $command = $self->option($action);
 
   #set variable for the command
+  no strict 'vars';
   {
     no strict 'refs';
     ${$_} = $svc_www->getfield($_) foreach $svc_www->fields;
@@ -52,6 +53,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;
@@ -99,7 +101,7 @@ sub shellcommands_queue {
 }
 
 sub ssh_cmd { #subroutine, not method
-  use Net::SSH '0.06';
+  use Net::SSH '0.07';
   &Net::SSH::ssh_cmd( { @_ } );
 }