Kwiki-Notify-IRC
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Kwiki/Notify/IRC.pm view on Meta::CPAN
const class_id => 'notify_irc';
const class_title => 'Kwiki page edit notification via IRC';
const config_file => 'notify_irc.yaml';
sub register {
my $registry = shift;
$registry->add( hook => 'page:store', post => 'update' );
}
sub update {
no warnings 'once'; # i use package variables below
require POE::Component::IKC::ClientLite;
my $remote = POE::Component::IKC::ClientLite::create_ikc_client(
port => $self->hub->config->notify_irc_daemon_port,
ip => $self->hub->config->notify_irc_daemon_host,
name => "Kwiki$$",
timeout => 5,
)
or die $POE::Component::IKC::ClientLite::error;
my $page = $self->pages->current;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.102 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )