Rechercher une page de manuel
POE::Component::IRC::Cookbook::Reload.3pm
Langue: en
Version: 2009-04-15 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
POE::Component::IRC::Cookbook::Reload - Reload your bot's code after a changeSYNOPSIS
Wouldn't it be neat if you could update your bot's code, and have the changes be applied without dropping the connection to the IRC server?DESCRIPTION
At first, this might seem complicated. You might have to mess with "eval STRING"/"do FILE", deal with scoping issues and what not. But when you really think about it, all you need is an IRC proxy. Let the proxy handle the IRC connection, and let the bot run as a separate process which you can restart at will.POE::Component::IRC itself can act as a proxy. See the Proxy plugin for details.
AUTHOR
Hinrik O.rn Sigurd-sson, hinrik.sig@gmail.comContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre