foreach $stout(@host){ run($stout) == 256? print "$stout not responding" : exit(); }