From: ivan Date: Thu, 8 Jul 1999 02:32:26 +0000 (+0000) Subject: import fix, noticed by Ben Leibig and Joel Griffiths X-Git-Tag: freeside_1_2_2~55 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=eb815cc14f3fea0a8d68b22b2fbf282eae09a92a import fix, noticed by Ben Leibig and Joel Griffiths --- diff --git a/bin/svc_acct.import b/bin/svc_acct.import index 85bc2f5eb..6541a9fd4 100755 --- a/bin/svc_acct.import +++ b/bin/svc_acct.import @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: svc_acct.import,v 1.6 1999-07-08 01:49:00 ivan Exp $ +# $Id: svc_acct.import,v 1.7 1999-07-08 02:32:26 ivan Exp $ # # ivan@sisd.com 98-mar-9 # @@ -17,7 +17,10 @@ # don't import /var/spool/freeside/conf/shells! ivan@sisd.com 98-aug-13 # # $Log: svc_acct.import,v $ -# Revision 1.6 1999-07-08 01:49:00 ivan +# Revision 1.7 1999-07-08 02:32:26 ivan +# import fix, noticed by Ben Leibig and Joel Griffiths +# +# Revision 1.6 1999/07/08 01:49:00 ivan # updates to avoid -w warnings from Joel Griffiths # # Revision 1.5 1999/03/25 08:42:19 ivan @@ -115,14 +118,16 @@ sub menu_svc { } sub getpart { $^W=0; # Term::Query isn't -w-safe - query "Enter part number:", 'irk', [ keys %part_svc ]; + my $return = query "Enter part number:", 'irk', [ keys %part_svc ]; $^W=1; + $return; } sub getvalue { my $prompt = shift; $^W=0; # Term::Query isn't -w-safe - query $prompt, ''; + my $return = query $prompt, ''; $^W=1; + $return; } print "\n\n";