Gaal Yahas wrote: > On Wed, Aug 04, 1999 at 10:24:15AM -0400, Matthew Bafford wrote: > > > > Oops! What about "10"? Otherwise your deck has only 48 or 50 cards. > > > > Youch! > > > > 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 :-) Oh dear. Now your deck has 56 or 58 cards. You don't need both '1' and 'A' in there, even if A != K -- Peter Haworth pmh@edison.ioppublishing.com I defy you to use the documentation to understand ... the ANSI C++ draft standard. It's not for nothing that comp.lang.std.c++ has a FAQ sixteen times the thickness of the Hong Kong phone book. -- Felix Gallo ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe