This question can be understood at two different levels:
but if func1 is a method of a class, you will not be able to say$mw->Button(command => \&func1)->pack;
and you have to say:$mw->Button(command => \&$self->func1)->pack;
$mw->Button(command => sub {\&$self->func1})->pack;
In reply to Re: Anonymous Thingies
by pg
in thread Anonymous Thingies
by Sprad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |