Posted on 2005-08-28 18:53:02-07 by oeln
Ident host info with Net::IRC::Event

Instead of only the nick, is there a way I could capture one's host in Net::IRC::Event? If I'm on irc as ircuser!irc@user.irc.org, I can capture ircuser with:

our ($conn, $event) = @_; our $nick = $event->{nick};

I'd essentially want to do the following instead:

our ($conn, $event) = @_; our $nick = $event->{host};

..in order to get back user.irc.org.

 
- Oeln

Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.