+2009-11-07 ISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
+ * keitairc, Makefile.PL, t/00_required_modules.t, doc/environment.html:
+ check 'POE have the has_forked method' before call it, so POE version
+ dependency is now not needed. POE version check and documentation
+ update.
+
2009-10-22 ISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
* Makefile.PL, t/00_required_modules.t, doc/environment.html:
Check/Describe POE version (require 1.007 or later)
# -*-perl-*-
-# $Id: Makefile.PL,v 1.7 2009-10-22 11:28:15 ishikawa Exp $
+# $Id: Makefile.PL,v 1.8 2009-11-06 20:34:44 ishikawa Exp $
# $Source: /home/ishikawa/work/keitairc/tmp/keitairc/Makefile.PL,v $
use 5.8.0;
AUTHOR => 'Jun Morimoto <morimoto@mrmt.net>',
LICENSE => 'GPL2',
PREREQ_PM => {
- 'POE' => "1.007",
+ 'POE' => 0,
'POE::Component::Server::TCP' => 0,
'POE::Filter::HTTPD' => 0,
'POE::Component::IRC' => 0,
</p>
<ul>
- <li>POE (バージョン 1.007 以上)</li>
+ <li>POE</li>
<li>POE::Component::Server::TCP</li>
<li>POE::Filter::HTTPD</li>
<li>POE::Component::IRC</li>
#!/usr/bin/perl
# -*- mode: perl; coding: utf-8 -*-
# keitairc
-# $Id: keitairc,v 1.75 2009-10-21 14:35:50 matusita Exp $
+# $Id: keitairc,v 1.76 2009-11-06 20:34:44 ishikawa Exp $
# $Source: /home/ishikawa/work/keitairc/tmp/keitairc/keitairc,v $
#
# Copyright (c) 2003-2008 Jun Morimoto <morimoto@mrmt.net>
# Depends: libxml-simple-perl
use Encode;
-use POE 1.007;
+use POE;
use POE::Filter::HTTPD;
use POE::Component::IRC;
use POE::Component::Server::TCP;
close(PID);
}
}
- $poe_kernel->has_forked;
+ $poe_kernel->has_forked if ($poe_kernel->can(has_forked));
}
# create irc component
# -*- mode: perl; coding: utf-8 -*-
-# $Id: 00_required_modules.t,v 1.2 2009-10-22 11:28:15 ishikawa Exp $
+# $Id: 00_required_modules.t,v 1.3 2009-11-06 20:34:44 ishikawa Exp $
# $Source: /home/ishikawa/work/keitairc/tmp/keitairc/t/00_required_modules.t,v $
# Copyright (c) 2003-2008 Jun Morimoto <morimoto@mrmt.net>
# This program is covered by the GNU General Public License 2
# check required modules
use_ok('AppConfig');
use_ok('Encode');
-use_ok('POE 1.007');
+use_ok('POE');
use_ok('POE::Filter::HTTPD');
use_ok('POE::Component::IRC');
use_ok('POE::Component::Server::TCP');