1POE::Component::IRC::CoUoskebrooCko:n:tRreilbouatde(d3P)POeEr:l:CDoomcpuomneenntta:t:iIoRnC::Cookbook::Reload(3)
2
3
4
6 POE::Component::IRC::Cookbook::Reload - Reload your bot's code after a
7 change
8
10 Wouldn't it be neat if you could update your bot's code, and have the
11 changes be applied without dropping the connection to the IRC server?
12
14 At first, this might seem complicated. You might have to mess with
15 "eval STRING"/"do FILE", deal with scoping issues and what not. But
16 when you really think about it, all you need is an IRC proxy. Let the
17 proxy handle the IRC connection, and let the bot run as a separate
18 process which you can restart at will.
19
20 POE::Component::IRC itself can act as a proxy. See the Proxy plugin for
21 details.
22
24 Hinrik Örn Sigurðsson, hinrik.sig@gmail.com
25
26
27
28perl v5.36.0 2023-P0O1E-:2:0Component::IRC::Cookbook::Reload(3)