I know I'm missing something here, but this code just looks to me like I 
shloud be doing it a better way..

Any ideas?


# -N
print "Number of Hosts?  ";
# get user input and strip off "CR-LF"
chomp($n=<>);
$intel_num_hosts = join (" ", "-N",$n);
# if user did not enter a value, dont put the "-N" in
if ($n eq ""){ $intel_num_hosts = ""}

# -n
print "Number of processes?  ";
chomp($n=<>);
$intel_num_procs = join (" ", "-n",$n);
if ($n eq ""){ $intel_num_procs = ""}

Thanks

Denis













-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to