Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Problem is I want to have &do_something be a method ala;$widget->my_mega_widget(-command => \&do_something);
Can anyone help me with the syntax, or tell me the proper way?$widget->my_mega_widget(-command => $self->do_something);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: callbacks in Tk
by Tanktalus (Canon) on Sep 24, 2005 at 02:46 UTC |