tech has asked for the wisdom of the Perl Monks concerning the following question:

How do you send a kill command to a nick using Net::IRC Like I do this using the IO::Socket,,print $sock "KILL $1\n; But im not sure how to do this using the Net::IRC mod.

Title edit by tye

Replies are listed 'Best First'.
Re: Net::IRC
by antirice (Priest) on Aug 25, 2003 at 00:54 UTC

    Net::IRC creates a number of Net::IRC::Connection objects which control the actual sockets. There's a method in Net::IRC::Connection called sl which takes a single parameter, the string you wish to submit "raw" to the server. As the documentation for this module is very scarce, my suggestion to you is UTSL.

    Hope this helps.

    antirice    
    The first rule of Perl club is - use Perl
    The
    ith rule of Perl club is - follow rule i - 1 for i > 1