while ($x != $limit) { foreach $x (@icpList) { health($x); secureTelnetCommand($x); pstswlog($x); }