in reply to New Jersey Lottery Probability

I liked chromatic and btrott's code and perlmonkey did some good good benchmarking ( I plan on using your example to test some of the perl blackjack code). Well, now I have about a hundred and fifty numbers in my bag t take to work. I am going to write another program to look through all the numbers for a match this morning. If anyone wants to take a stab at writing the program I willpost what I come up with later today. It would be really cool to compare the numbers and tell me which card had how many number matches. For example:

card2 had two numbers match: 34 45 card 56 had three numbers match: 15 23 45

I am also planning on having it pull the winning numbers off the web and email my pager with the results(see Ebay, perl and my dad post).

Ergowolf Does code make a sound if no one is there to type it?