Think about Loose Coupling | |
PerlMonks |
Re: Making a button execute a command: Tkby eff_i_g (Curate) |
on Jan 12, 2007 at 22:00 UTC ( [id://594469]=note: print w/replies, xml ) | Need Help?? |
At that very moment when being defined, or later, when called? Have you tried an anonymous sub?
Update: See the docs @ Tk::Button and follow the "Perl/Tk callback" link.
In Section
Seekers of Perl Wisdom
|
|