for(@host){ $stout = run($_); exit unless($stout == 256); print "$_ not responding, trying next host\n"; } print "all hosts not responding";
In reply to Re: Not Using So Many 'if' Statements
by insensate
in thread Not Using So Many 'if' Statements
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |