k0rn has asked for the wisdom of the Perl Monks concerning the following question:
Now the Error ismy $textEntry = $mainWindow -> Entry(-state => 'normal') -> pack( -sid +e => 'bottom', -expand => 'BOOLEAN'); $textEntry -> bind('<Return>' => &get); sub get { my $text = $textEntry -> get(); print "$text\n"; }
Tk::Error: Can't locate auto/Tk/Entry/1.al in @INC (@INC contains: /et +c/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/l +ib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /us +r/local/lib/site_perl .) at /usr/lib/perl5/Tk.pm line 423 Carp::croak at /usr/share/perl/5.10/Carp.pm line 44 AutoLoader::AUTOLOAD at /usr/local/share/perl/5.10.0/AutoLoader.pm li +ne 47 <Key-Return> (command bound to event)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk Error
by GrandFather (Saint) on Mar 27, 2010 at 02:57 UTC | |
|
Re: Tk Error
by kiruthika.bkite (Scribe) on Mar 27, 2010 at 04:17 UTC | |
by GrandFather (Saint) on Mar 27, 2010 at 05:05 UTC | |
by k0rn (Acolyte) on Mar 28, 2010 at 02:54 UTC |