Keep It Simple, Stupid | |
PerlMonks |
Re: Tlist get selectedby bbfu (Curate) |
on Sep 05, 2003 at 23:02 UTC ( [id://289382]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|