[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Golf (7, er 16 strokes is par!)





On Mon, 1 May 2000, Dean Hudson wrote:
> Due to the underwhelming response, I'll post the solution with the hopes
> that it attracts golfers:
> 
> ($_^$_-1)-2*$_+1

So what's wrong with checking it explicitly?

  $_&$_-1|!$_

-- 
Ilmari Karonen
http://www.sci.fi/~iltzu/


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe