Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Ballsy codingby Anonymous Monk |
on Apr 20, 2000 at 20:42 UTC ( [id://8189]=note: print w/replies, xml ) | Need Help?? |
Your script works as advertised, and the fact that it's
wordier than necessary is obviously deliberate, so that beginners
can follow it more easily.
The one problem I *do* have with it is that there is no-reason to
hard-code to number of elements in each list. Much better to use
the $# construct to return the size of the list. In other words:
will work even if you add or remove members from @groups.
In Section
Code Catacombs
|
|