for this:foreach (@tcpstatus) { while (/\b01\s/) { push(@tcpalive,$_); last; } }
@tcpalive = grep { /\b01\s/ } @tcpstatus;
In reply to Re: efficiency & style
by gregorovius
in thread efficiency & style
by djw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |