- or download this
my %menus = (
'1' => {
...
'ITEM' => 'List and Kill Print Jobs',
'ACTION' => sub { $PrintSubmenu->('2') },
. . .
- or download this
$menu->{$MenuItem}->{'ACTION'}->();
- or download this
my %menus = (
'1' => {
...
'ACTION' => $RunCMD->('quit'),
},
);