In the place you put it, it's executed at the bottom of the loop, not the top.for (my @socks = $BASKET -> can_read(2); ; ) { ... }
-- Randal L. Schwartz, Perl hacker
In reply to Re: for vs. while question
by merlyn
in thread for vs. while question
by deprecated
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |