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

[FWP] Re: fwp-digest V1 #107



On Fri, Aug 06, 1999 at 05:02:02AM -0700, fwp-digest wrote:
> 
> Date: Thu, 5 Aug 1999 20:12:51 +0300
> From: Gaal Yahas <gaal@forum2.org>
> Subject: Re: [FWP] Perl Card Games
> 
> On Wed, Aug 04, 1999 at 10:24:15AM -0400, Matthew Bafford wrote:
> 
> > Well:
> >                    8 =>  8, 9 =>  9, 10 => 10, J => 11, Q => 12, K => 13,
> >                    A => 13,
> 
> Why waste characters<tm>[1]?
> %cards = ( sort(1..10,1..10),  J => 11, Q => 12, K => 13, A => 14, );
> #                                                and note A != K :-)

Good point. Of course you might want to do "eight" => 8, etc.

> [1] see http://www.forum2.org/cgi-bin/opest [2], but please approach
>     with joviality. For entertainment only etc. etc.

I submit that another name for this ought to be "The Perl Churl".
(From m-w.com: 4 a : a rude ill-bred person)




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