In your loop, skip that term.
for (my $term = $terms; $term <=40; $term++) { next if $term == 18; $rh->cmd("request system logout terminal pts/$term"); }
In reply to Re: Exception handling (skip one item in list)
by hippo
in thread Exception handling
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |