in reply to Re^2: Tk warning using curselection() with ActiveState 5.8.4
in thread Tk warning using curselection() with ActiveState 5.8.4

Nope, that returns the size of the list.

The code you give as "your solution":

@index = $dialogLB->curselection; $what = $choices[@index];
also uses the size of the returned list as an index.