templates!!!
[freeside.git] / fs_signup / fs_signup_server
index 86455a4..03defd6 100755 (executable)
@@ -6,7 +6,7 @@
 use strict;
 use IO::Handle;
 use Tie::RefHash;
-use FS::SSH qw(sshopen2);
+use Net::SSH qw(sshopen2);
 use FS::UID qw(adminsuidsetup);
 use FS::Record qw( qsearch qsearchs );
 use FS::cust_main_county;
@@ -163,7 +163,7 @@ while (1) {
 
     use Tie::RefHash;
     tie my %hash, 'Tie::RefHash';
-    %hash = { $cust_pkg => [ $svc_acct ] };
+    %hash = ( $cust_pkg => [ $svc_acct ] );
     $error ||= $cust_main->insert( \%hash );
     #if ( $cust_pkg && ! $error ) { #in this case, $cust_pkg should always
     #                               #be definied, but....