in reply to Tk Error

It may be you need:

$textEntry -> bind('<Return>' => \&get);

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.


True laziness is hard work