in reply to anonymous hashes as arguments in Tk
Try doing Dumper(@_) before you do anything else in your routine. See exactly what is being passed. Then, you can figure out what you need to do to get to your hash.
I don't remember the Tk details off the top of my head, and I'm too lazy to go look them up before posting...
Are you using Games::Cards? Among other things, you will find Tk implementations of Klondike and Freecell that may have stealable^Wreusable code fragments.
yours,
Michael
|
---|