I don't particularly think that while (<@array>){....} is sensible code it was just a fragment of what I have tried. I use foreach more often than not. But out of curiousity why do you refer to the while(<@array>) {...} as awful code?
In reply to Re^2: Record creation in nested loops
by Ninthwave
in thread Record creation in nested loops
by Ninthwave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |