in reply to Tk Error
It may be you need:
$textEntry -> bind('<Return>' => \&get); [download]
bind wants a reference to a sub so unless get returns a reference to a sub, calling get in the bind is not what you want.