use vars qw(@ISA $VERSION);
use POE::Queue;
-@ISA = qw(POE::Queue);
-
BEGIN {
- require Exporter;
- @ISA = qw(Exporter);
+ @ISA = qw(POE::Queue);
$VERSION = '0.003';
eval {
# try XSLoader first, DynaLoader has annoying baggage
Revision history for Perl extension POE::XS::Queue::Array.
+0.004
+ - include license information in appropriate places
+ - fix @ISA, it was badly broken, thanks to Yuval Kogman (nothingmuch)
+
0.003 Thu Sep 14 2006
- added #include <string.h> for strcmp/strerror declarations
- added a missing format specifier in the debug code in queue.c
use lib qw(./mylib);
-use Test::More tests => 2047;
+use Test::More tests => 2048;
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
sub POE::Kernel::TRACE_DEFAULT () { 1 }
my $q = POE::XS::Queue::Array->new();
+isa_ok($q, 'POE::Queue');
+
ok($q->get_item_count == 0, "queue begins empty");
ok(!defined($q->dequeue_next), "can't dequeue from empty queue");