App-Pocoirc

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    *YourPlugin*.

    The plugins in "global_plugins" will be instantiated once and then added
    to all IRC components. Note: not all plugins are designed to be used
    with multiple IRC components simultaneously.

    If you specify "local_plugins" at the top level, it will serve as a
    default list of local plugins, which can be overridden in a network
    hash.

OUTPUT
    Here is some example output from the program:

     $ pocoirc -f example/config.yml
     2011-04-18 18:10:52 Started (pid 20105)
     2011-04-18 18:10:52 Constructing global plugins
     2011-04-18 18:10:52 [freenode]  Constructing local plugins
     2011-04-18 18:10:52 [freenode]  Spawning IRC component (POE::Component::IRC::State)
     2011-04-18 18:10:52 [magnet]    Constructing local plugins
     2011-04-18 18:10:52 [magnet]    Spawning IRC component (POE::Component::IRC::State)
     2011-04-18 18:10:52 [freenode]  Registering plugins

lib/App/Pocoirc.pm  view on Meta::CPAN

App::Pocoirc will first try to load POE::Component::IRC::Plugin::I<YourPlugin>
before trying to load I<YourPlugin>.

The plugins in C<global_plugins> will be instantiated once and then added to
all IRC components. B<Note:> not all plugins are designed to be used with
multiple IRC components simultaneously.

If you specify C<local_plugins> at the top level, it will serve as a default
list of local plugins, which can be overridden in a network hash.

=head1 OUTPUT

Here is some example output from the program:

 $ pocoirc -f example/config.yml
 2011-04-18 18:10:52 Started (pid 20105)
 2011-04-18 18:10:52 Constructing global plugins
 2011-04-18 18:10:52 [freenode]  Constructing local plugins
 2011-04-18 18:10:52 [freenode]  Spawning IRC component (POE::Component::IRC::State)
 2011-04-18 18:10:52 [magnet]    Constructing local plugins
 2011-04-18 18:10:52 [magnet]    Spawning IRC component (POE::Component::IRC::State)



( run in 0.383 second using v1.01-cache-2.11-cpan-4e96b696675 )