agaffney has asked for the wisdom of the Perl Monks concerning the following question:
This handler never gets called. This is the only handler I'm having trouble with. I tried having the client change it's own mode and having my normal IRC user change its mode, and I get absolutely nothing. That function is never called. Does anyone know what I'm doing wrong?sub on_umode { my ($self, $event) = @_; print "got umode\n"; # print "umode args = " . $event->args . "\n"; } ... $conn->add_handler('umode', \&on_umode);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: getting client mode with Net::IRC
by Mr. Muskrat (Canon) on Dec 31, 2004 at 16:44 UTC | |
by agaffney (Beadle) on Dec 31, 2004 at 16:55 UTC | |
by Mr. Muskrat (Canon) on Dec 31, 2004 at 16:59 UTC | |
by agaffney (Beadle) on Dec 31, 2004 at 17:12 UTC | |
|
Re: getting client mode with Net::IRC
by halley (Prior) on Jan 04, 2005 at 20:25 UTC | |
by agaffney (Beadle) on Jan 04, 2005 at 20:31 UTC |