in reply to Doing what a menu command would do with out selecting it
When you select the menu item you specify a subroutine to run. In this code
You need to work out what is in$C{'Select All'} = command => 'Select All',<br> -command => [ sub { select_all(@_); }, $c + ];
@_before the call to select_all, then figure out how to make it work.
In essence it would seem that this is a scoping issue (without seeing more of the code!).
....john
|
|---|