Subject: | Warnings During Testing |
Hi:
In the latest version of this module, the tests are producing some
warnings which can be seen in the CPAN Testers output.
I would recommend using Test::NoWarnings in the future (in case these
warnings are bad) -- then warnings would become FAILs in CPAN Testers
reports. However, if these warnings are desired (ie, if you're
specifically testing that these warnings happen), I suggest using a
module like Test::Warn.
Either way, the user installing your modules has no indication whether
this is good or (most likely) bad output:
t/06_sweet.t ........... ok
Constant subroutine POE::Kernel::ASSERT_DEFAULT redefined at
t/07_aliased.t line 85.
Use of uninitialized value $session in exists at
/home/cpan/pit/rel/conf/perl-5.10.1/.cpanplus/5.10.1/build/POE-1.267/blib/lib/POE/Resource/Sessions.pm
line 303.
Use of uninitialized value $sid in hash element at
/home/cpan/pit/rel/conf/perl-5.10.1/.cpanplus/5.10.1/build/POE-1.267/blib/lib/POE/Resource/SIDs.pm
line 80.
Use of uninitialized value $alias in exists at
/home/cpan/pit/rel/conf/perl-5.10.1/.cpanplus/5.10.1/build/POE-1.267/blib/lib/POE/Resource/Aliases.pm
line 96.
Use of uninitialized value $whatever in string eq at
/home/cpan/pit/rel/conf/perl-5.10.1/.cpanplus/5.10.1/build/POE-1.267/blib/lib/POE/Kernel.pm
line 629.
Use of uninitialized value $session in exists at
/home/cpan/pit/rel/conf/perl-5.10.1/.cpanplus/5.10.1/build/POE-1.267/blib/lib/POE/Resource/Sessions.pm
line 303.
Use of uninitialized value $sid in hash element at
/home/cpan/pit/rel/conf/perl-5.10.1/.cpanplus/5.10.1/build/POE-1.267/blib/lib/POE/Resource/SIDs.pm
line 80.
Use of uninitialized value $alias in exists at
/home/cpan/pit/rel/conf/perl-5.10.1/.cpanplus/5.10.1/build/POE-1.267/blib/lib/POE/Resource/Aliases.pm
line 96.
Use of uninitialized value $whatever in string eq at
/home/cpan/pit/rel/conf/perl-5.10.1/.cpanplus/5.10.1/build/POE-1.267/blib/lib/POE/Kernel.pm
line 629.
Use of uninitialized value $session in exists at
/home/cpan/pit/rel/conf/perl-5.10.1/.cpanplus/5.10.1/build/POE-1.267/blib/lib/POE/Resource/Sessions.pm
line 303.
Use of uninitialized value $sid in hash element at
/home/cpan/pit/rel/conf/perl-5.10.1/.cpanplus/5.10.1/build/POE-1.267/blib/lib/POE/Resource/SIDs.pm
line 80.
Use of uninitialized value $alias in exists at
/home/cpan/pit/rel/conf/perl-5.10.1/.cpanplus/5.10.1/build/POE-1.267/blib/lib/POE/Resource/Aliases.pm
line 96.
Use of uninitialized value $whatever in string eq at
/home/cpan/pit/rel/conf/perl-5.10.1/.cpanplus/5.10.1/build/POE-1.267/blib/lib/POE/Kernel.pm
line 629.
From this report:
http://www.nntp.perl.org/group/perl.cpan.testers/2009/09/msg5289922.html
Thanks for maintaining this module.
Cheers,
Jonathan