good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Tk/Perl Commandby hiseldl (Priest) |
on Mar 20, 2003 at 18:02 UTC ( [id://244668]=note: print w/replies, xml ) | Need Help?? |
Try passing your array as a ref to your sub: ...this should pass the \@info ref into your get_data sub. You can also add your Tk widget as another parameter and call configure on that ref.
This is the method I use when I want to modify a data structure using a callback. --
In Section
Seekers of Perl Wisdom
|
|