Debian Codegraph @

lib/POE/Component/IRC/Cookbook/Reload.pod

raw
1 =encoding utf8
2
3 =head1 NAME
4
5 POE::Component::IRC::Cookbook::Reload - Reload your bot's code after a change
6
7 =head1 SYNOPSIS
8
9 Wouldn't it be neat if you could update your bot's code, and have the changes
10 be applied without dropping the connection to the IRC server?
11
12 =head1 DESCRIPTION
13
14 At first, this might seem complicated. You might have to mess with
15 C<eval STRING>/C<do FILE>, deal with scoping issues and what not. But when
16 you really think about it, all you need is an IRC proxy. Let the proxy
17 handle the IRC connection, and let the bot run as a separate process which
18 you can restart at will.
19
20 L<POE::Component::IRC|POE::Component::IRC> itself can act as a proxy. See
21 the L<Proxy|POE::Component::IRC::Plugin::Proxy> plugin for details.
22
23 =head1 AUTHOR
24
25 Hinrik E<Ouml>rn SigurE<eth>sson, [email protected]
26