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
In reply to Re: anonymous hashes as arguments in Tk
by herveus
in thread anonymous hashes as arguments in Tk
by dimmesdale
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |