in reply to Doing what a menu command would do with out selecting it

Hi,

When you select the menu item you specify a subroutine to run. In this code

$C{'Select All'} = command => 'Select All',<br> -command => [ sub { select_all(@_); }, $c + ];
You need to work out what is in
@_
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