> From: Matthew Bafford [mailto:*@dragons.duesouth.net] > Sent: Thursday, August 05, 1999 13:13 > To: Gaal Yahas > Cc: fwp@technofile.org > Subject: Re: [FWP] Perl Card Games > > [Thu, Aug 05, 1999 at 08:12:51PM +0300] Gaal Yahas: > > On Wed, Aug 04, 1999 at 10:24:15AM -0400, Matthew Bafford wrote: > > > 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, ); > > Because I find that version to be ugly. > > :-) I'm charmed by the trailing comma, to allow for easy addition to the list. :-) -- Larry Rosler Hewlett-Packard Laboratories http://www.hpl.hp.com/personal/Larry_Rosler/ lr@hpl.hp.com ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe