senik148 has asked for the wisdom of the Perl Monks concerning the following question:
bind works great, but the problem is accessing the sub routine, i cannot access it!$nameEntry->bind('<Return>', sub { printx($sock,"PRIVMSG #testsen :$sn +dtxt"); });
any suggestions???310 sub printx { 311 my $sock = shift; 312 print $sock "@_\n"; 313 }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl/TK Error
by pg (Canon) on Apr 12, 2003 at 04:53 UTC | |
|
Re: Perl/TK Error
by The Mad Hatter (Priest) on Apr 12, 2003 at 04:27 UTC | |
|
Re: Perl/TK Error
by Necos (Friar) on Apr 12, 2003 at 16:02 UTC | |
by senik148 (Beadle) on Apr 12, 2003 at 23:40 UTC |