in reply to Tlist get selected
What do you mean by "get selected item"? What do you want to do with the result?
I assume this is related to your previous question. If you want to know what directory or file the user clicked on, the @sel array in your code in this post should contain the file or directory. Try printing that directly to see what it contains, as in my example code in my reply to your other thread.
If you're wanting to set or retrieve options associated with those items in the TList, you can use $tl->entryconfigure($sel[0], ...) and $tl->entrycget($sel[0], ...), respectively.
bbfu
Black flowers blossom
Fearless on my breath
|
|---|