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

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

Nicholas Clark
June 30, 2004 09:11
Re: [PATCH] sort plays nethack in a scalar context
Message ID:
On Wed, Jun 30, 2004 at 09:03:25AM -0700, Ovid wrote:
> --- Rafael Garcia-Suarez <> wrote:
> > Naah, no new modules in the core. But I suppose that sort() called in
> > scalar context could fire up 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 ...

We should be using an absolute path, otherwise we create a wonderful
security hole.

I suggest we setpriority(PRIO_USER, 0, 20); to reward the user for their
knowledge, on systems where setpriority is available.

Nicholas Clark Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About