in reply to Re^2: Deleting Menu Item from Menuin thread Deleting Menu Item from Menu
sub add_menu{ # must be cascade, checkbutton, command, radiobutton, or separator $Btn1->parentMenu->add('command',-label => time, -command=>sub{print "3\n";}); } [download]