in reply to perl/tk listbox

If more than one item is selected, use:

@selected = $lb->curselection

to get a list of the index numbers for each selected item. Then use:

$select_item = $lb->get( $selected[#] )

If you know for a fact only one item is selected {NULE}'s method works.