use strict; use warnings; use Tkx; # Hauptfenster my $nw = MainWindow->new(); # Titel des Hauptfensters $nw->title ('Man-Machine Interfaces II - UE - BSP 3'); # MenĂ¼ my $mbar = $nw -> Menu(); $nw->configure (-menu => $mbar); my $file = $mbar->cascade (-label => "File", -underline => 0, -tearoff => 0); $file->command (-label => "Exit", -command => [$nw => 'destroy']); #usw....