On 2012-12-09, at 5:59 PM, Ken Preslan <k...@preslan.org> wrote: > On Sun, Dec 09, 2012 at 04:47:56PM -0800, Jeff Hobbs wrote: >> On 2012-12-06, at 7:59 PM, Ken Preslan <k...@preslan.org> wrote: >>> However, this just sets $string to the result of catch, a number. How do >>> I get the results of the 'selection get' assigned to a Perl variable? >> >> This needs testing, but you want the multi-arg version of catch to get the >> result. >> ... > > Excellent, that works well. Thank you! > > Is there documentation for this somewhere that I missed?
Only in the sense that Tcl's catch has a 1-arg and 2-arg form, and this uses the 2nd arg. Variables references from Perl get auto-transmogrified into tied Tcl vars. Jeff