in reply to Re^3: What's the "...0" mean?
in thread What's the "...0" mean?
An example of how the flip flop operator works.
Update: Added example.my @array = qw- 1 2 3 on 4 5 off 6 7 8 on 9 10 11 12 off 13 14 15 -; for (@array){ say if /on/ ... /off/; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: What's the "...0" mean?
by morgon (Priest) on Oct 15, 2010 at 23:24 UTC |