Leser: 1
2 Einträge, 1 Seite |
1 2 3
my $ch = lc(substr($data->{'titel'}, $data->{'underline'}, 1)); my $start_sub = $data->{'key'}.'_main'; $mw->bind('<'.$ch.'>', sub { \{&$start_sub}; } );
my $start_sub = $data->{'key'}.'_main($mw)';
my $start_sub = $data->{'key'}."_main($mw)";
Tk::Error: Can't use string ("PopUp_main($mw)") as a subroutine ref while "strict refs" in use
Tk::Error: Can't use string ("PopUp_main(MainWindow=HASH(0x4") as a subroutine ref while "strict refs"
$mw->bind($event, [$subname, $arguments]);
2 Einträge, 1 Seite |