in reply to tk popup menu foreach
Hi there,
Am sorry that I don't understand how to make that foreach loop work, but this does:
-menuitems => [ map { [ command => "$_", -command => sub { insert_symbol($_) } +] } @list_symbols ], [download]