"be consistent" | |
PerlMonks |
Re: anonymous hashes as arguments in Tkby herveus (Prior) |
on Jul 11, 2002 at 15:00 UTC ( [id://181038]=note: print w/replies, xml ) | Need Help?? |
Howdy!
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,
In Section
Seekers of Perl Wisdom
|
|