for ($i=0; $i<@hostlist; $i++) { last if $hostlist[$i] eq $nodename; }
if ($i>=@hostlist) {
print STDERR "!! nodename $nodename not in $ncipher list @hostlist\n";
for ($i=0; $i<@hostlist; $i++) { last if $hostlist[$i] eq $nodename; }
if ($i>=@hostlist) {
print STDERR "!! nodename $nodename not in $ncipher list @hostlist\n";