![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re: How do I shut down a Bot::BasicBot?by Hinrik (Novice) |
on Mar 26, 2011 at 23:03 UTC ( [id://895709]=note: print w/replies, xml ) | Need Help?? |
As of Bot::BasicBot 0.82, you can shut it down properly with $bot->shutdown($quit_message). That will take care of sending a QUIT message to the IRC server, waiting until the server disconnects you, as well as killing any subprocesses you may have started with the forkit() method.
In Section
Seekers of Perl Wisdom
|
|