|Do you know where your variables are?|
returning values from Perl-Tk eventsby thunders (Priest)
|on Mar 26, 2002 at 20:34 UTC||Need Help??|
thunders has asked for the
wisdom of the Perl Monks concerning the following question:
Hello fellow Monks,
I've been working with Tk for a few days now and I've run into something I can't get my brain around. How can I return or pass a value from a button event?
I'm writing an application that will let me compare photographs from a directory two at a time until I've decided on a favorite. The problem comes with trying to achieve this using Tk Buttons.
I've tried several different methods, but I still cant figure how to pass an array or return it through a button event subroutine, so that my array will eventually shrink as I make choices.