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

Re: [PATCH] sort plays nethack in a scalar context (was: sort inscalar context, but broken due to inexperience.)

From:
Rafael Garcia-Suarez
Date:
June 24, 2004 00:38
Subject:
Re: [PATCH] sort plays nethack in a scalar context (was: sort inscalar context, but broken due to inexperience.)
Message ID:
20040624093536.27dfb1d7@localhost
Paul Fenwick wrote:
> Randal L. Schwartz wrote:
> 
> > The other strawman I use is "sort in a scalar context might just
> > play Nethack".  Can you implement that instead?
> 
> A patch is attached.  It's incompatible with David's 'sortedness' patch, 
> and fails if nethack is not in the user's path.

It's not good : you should test as well if stdout is a tty.
And where are the regression tests ?



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