in reply to object method "TIEHANDLE"

You're trying to tie a handle to a class named '' (empty string).

What does this print?

print ref $widget;
I bet it doesn't print anything.

The second parameter to tie() needs to be the name of the package that should exist.

Hope this helps.

Liz