I confess it has been several years since I last worked with POE, so I'm out of touch. I'm having troubles, and I'm not sure if it's something I'm doing wrong or it it's bitrot in the packages. Perhaps someone here will have insight?
[Context/Versions: Ubuntu 9.10 Desktop Perl 5.10.0 POE-Component-Player-Mpg123-1.2 mpg123 1.7.3. POE 1.006 (which is in the Ubuntu repos) and POE 1.286 (latest from CPAN)] 'make test' fails like this: (note you have to provide ./test.mp3) POE-Component-Player-Mpg123-1.2$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..20 ok 1 - finding player ok 2 - finding test track ok 3 - read permissions ok 4 - use PoCo::Player::Mpg123 ok 5 - session created ok 6 - component instantiated not ok 7 - play issued # Failed test 'play issued' # at test.pl line 46. Not a HASH reference at blib/lib/POE/Component/Player/Mpg123.pm line 133. # Looks like you planned 20 tests but ran 7. # Looks like you failed 1 test of 7 run. # Looks like your test exited with 255 just after 7. make: *** [test_dynamic] Error 255 Further investigation indicates that the arguments to the 'stdout' callback do not appear to be what I expect, based on the documentation for POE::Component::Child.