foreach (@host) { check($_, $port); } #### for(@host){ $stout = run($_); unless($stout == 256) { $success++; last; } #### ----------------------------------- --the good, the bad and the physi-- -----------------------------------