The code you give as "your solution":
also uses the size of the returned list as an index.@index = $dialogLB->curselection; $what = $choices[@index];
In reply to Re^3: Tk warning using curselection() with ActiveState 5.8.4
by Anonymous Monk
in thread Tk warning using curselection() with ActiveState 5.8.4
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |