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

Re: [FWP] Perl Card Games



On Thu, Aug 05, 1999 at 01:28:25PM -0700, lr@hpl.hp.com wrote:

> > > Why waste characters<tm>[1]?
> > > %cards =
> > >      ( sort(1..10,1..10),  J => 11, Q => 12, K => 13, A => 14, );
> >
> > Because I find that version to be ugly.
> > :-)
> 
> I'm charmed by the trailing comma, to allow for easy addition to the
> list.  :-)

Oh, I always try to code things so that they will be easy to fix if
reality changes <grin>

-- 
believing is seeing
gaal@forum2.org
http://www.forum2.org/gaal/

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