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 ],
In reply to Re: tk popup menu foreach
by Loops
in thread tk popup menu foreach
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |