in reply to How do I reference a variable?
$entry->get Returns the entry's string. [download]
Maybe this is what you're looking for. Another thing I found was in Tk::options:
$value = $widget->cget('-option'); [download]
Arjen