in reply to Re: Sort on boredom
in thread Sort on boredom

Heh. Awesome answer. You have convinced me that having temp variables can easily be clearer than an obsessive desire to eliminate "extraneous" code :)

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

Replies are listed 'Best First'.
Re: (Ovid) Re(2): Sort on boredom
by petral (Curate) on Mar 24, 2001 at 02:49 UTC
    Well, it did answer your question:
    Is there any way of eliminating the temporary variable %freqs?
    But it does add as many 'intermediate' arrays as there are uniq values. I guess that's not what you had in mind. Oh, well.

    p