Skip Menu |

This queue is for tickets about the Weewar CPAN distribution.

Report information
The Basics
Id: 50006
Status: new
Priority: 0/
Queue: Weewar

People
Owner: Nobody in particular
Requestors: shuff [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.01
Fixed in: (no value)



Subject: Weewar::User::new generates error (in XML parsing?)
Hello! I discovered this potential bug in the course of packaging Weewar 0.01 for inclusion in the RPMforge RPM repository. Test code: #!/usr/bin/perl use strict; use warnings; use Weewar; my $me = Weewar->user('hakamadare'); Result: $ ./weewar.pl Can't call method "getElementsByTagName" on an undefined value at /usr/lib/perl5/vendor_perl/5.8.8/Weewar/Base.pm line 75. The debugger gives a slightly more informative backtrace: Can't call method "getElementsByTagName" on an undefined value at /usr/lib/perl5/vendor_perl/5.8.8/Weewar/Base.pm line 75. at /usr/lib/perl5/vendor_perl/5.8.8/Weewar/Base.pm line 75 Weewar::Base::get('Weewar::User=HASH(0xa6facd4)', 'draws') called at /usr/lib/perl5/vendor_perl/5.8.8/Weewar/User.pm line 33 Weewar::User::get('Weewar::User=HASH(0xa6facd4)', 'draws') called at /usr/lib/perl5/vendor_perl/5.8.8/Class/Accessor.pm line 449 Weewar::User::draws('Weewar::User=HASH(0xa6facd4)') called at /usr/lib/perl5/vendor_perl/5.8.8/Weewar.pm line 128 Weewar::user('Weewar', 'hakamadare') called at ./weewar.pl line 8 I'll dig into this issue some more when I have some time, but I figured I'd report it now. Test platform is RHEL5 x86, Perl 5.8.8, XML::LibXML 1.69. Please let me know if there's any further information I can provide. thanks, -Steve -- Steve Huff * hakamadare@users.sourceforge.net