http://www.perlmonks.org?node_id=1025640


in reply to Re: Getting selection from Tkx text
in thread Getting selection from Tkx text

http://docs.activestate.com/activeperl/5.16/lib/Tkx.html
-> http://www.tcl.tk/man/tcl/TkCmd/contents.htm
-> http://www.tcl.tk/man/tcl/TkCmd/text.htm
Ctrl+F "sel"
-> THE SELECTION
-> pathName get ?-displaychars? ?--? index1 ?index2 ...?
-> INDICES
-> tag.first
-> tag.last

$text->get(qw/ sel.first sel.last /);

I guess "GetSelected" is too simple of an API :)