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

Re: [PATCH] sort plays nethack in a scalar context

From:
Ovid
Date:
June 30, 2004 09:03
Subject:
Re: [PATCH] sort plays nethack in a scalar context
Message ID:
20040630160325.90521.qmail@web60804.mail.yahoo.com
--- Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> wrote:
> Naah, no new modules in the core. But I suppose that sort() called in
> scalar context could fire up CPAN.pm to fetch it and install it.

Perhaps, but if we think this through, perhaps the best "undefined" behavior would be to change
this behavior with every release.  I propose the next release do 
    
    system("perldoc -f sort");

Of course, perhaps we want to first check if perldoc is installed ...

Cheers,
Ovid

=====
Silence is Evil            http://users.easystreet.com/ovid/philosophy/indexdecency.htm
Ovid                       http://www.perlmonks.org/index.pl?node_id=17000
Web Programming with Perl  http://users.easystreet.com/ovid/cgi_course/



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