in reply to Re: Binding Events In Perl TK
in thread Binding Events In Perl TK

    -command => [ \&blacken, '$entry1']

That of course won't work since you pass the string literal '$entry1' which you attempt to use as a Tk::Entry object in the blacken() sub.

You need to remove the quotes.