I am unable to make Event.pm pass test without making a small change in the t/hup.t
test.
In the form downloaded from CPAN, the module fails test on my Debian Linux potato
machine in the following way:
t/hup...............Undefined subroutine &Exporter::VERSION called at
/usr/local/lib/perl5/5.00503/Test.pm line 3.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.00503/Test.pm line 3.
BEGIN failed--compilation aborted at t/hup.t line 15.
dubious
Test returned status 2 (wstat 512, 0x200)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/local/lib/perl5/5.00503/Test/Harness.pm line 288.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
If I make the small change of putting the line
use Test; plan test => 1;
above the Use Event lines, as it is in the other tests, the module will now pass test.
The version from CPAN puts the use Test line beneath the use Event lines.
I'm assuming this is ok to do, and hope the information is helpful to others. If it is
neither, you may all slap me.
conrad
--
Conrad Heiney
[EMAIL PROTECTED]
http://fringehead.org/
Bummer of a birthmark, Hal