develooper Front page | perl.perl5.porters | Postings from June 2004

Re: sort in scalar context, but broken due to inexperience.

From:
merlyn
Date:
June 10, 2004 09:12
Subject:
Re: sort in scalar context, but broken due to inexperience.
Message ID:
86ekonz92m.fsf@blue.stonehenge.com
>>>>> "David" == David Nicol <davidnicol@pay2send.com> writes:

David> Phooey.  I had thought there was a consensus in favor of the
David> sortedness thing.

Actually, I only use that as a straw man whenever someone asks me what
sort does in a scalar context.  I never thought through how useful it
would be.  Amazingly, you implemented code to do that. :)

In fact, I can't think of when I *ever* would have used that feature. :)

The other strawman I use is "sort in a scalar context might just
play Nethack".  Can you implement that instead?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About