in reply to for vs. while question
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: for vs. while question
by MrNobo1024 (Hermit) on Mar 07, 2001 at 05:50 UTC | |
by merlyn (Sage) on Mar 07, 2001 at 05:57 UTC |