On Wed, Feb 16, 2005 at 12:14:10AM -0600, Rod Adams wrote: > So in terms of frequency of use in the English Language, I'd rank things > in the following order: > 1) Scalars > 2) Sets > 3) Arrays > 4) Hashes
Perhaps. However, it's fairly easy to use an Array or Hash to represent a Set, so perhaps it's better to just introduce some routines to facilitate that. > As for Perl Speakers, I would argue that a high percentage of the time > someone says C< for @list {...} >, they really don't care for which > order the elements are executed in, just that they are. Hmmm. I wonder about that "high percentage" qualifier there; for the code I write I'd estimate that it's as least as frequent that with C< for @list { ... } > the order of the elements is extremely important to me. And it's nice that I can use the same structure (@list) for both ordered and unordered lists. Pm