Skip Menu |
 

This queue is for tickets about the onto-perl CPAN distribution.

Report information
The Basics
Id: 58313
Status: resolved
Priority: 0/
Queue: onto-perl

People
Owner: erick.antezana [...] gmail.com
Requestors: artg [...] cs.nyu.edu
Cc:
AdminCc:

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



Subject: Bug in sub def_as_string
Download (untitled) / with headers
text/plain 1.3k
Term::def_as_string issues Use of uninitialized value in concatenation (.) or string at /Library/Perl/5.8.8/OBO/Core/Term.pm line 451. when a Term doesn't have a definition. E.g., consider [Term] id: PO:0009076 in http://palea.cgrb.oregonstate.edu/viewsvn/Poc/trunk/ontology/OBO_format/po_anatomy.obo?view=co&content-type=text/plain on 451 $self->{DEF}->text() isn't defined, so the fix might be to return undef in that case, or print a warning and return an empty string or something like that BR A fyi: $ sudo cpan -D OBO::Core::Term CPAN: Storable loaded ok (v2.18) Going to read '/Users/arthurgoldberg/.cpan/Metadata' Database was generated on Thu, 10 Jun 2010 01:35:27 GMT OBO::Core::Term ------------------------------------------------------------------------- (no description) E/EA/EASR/ONTO-PERL/ONTO-PERL-1.22.tar.gz /Library/Perl/5.8.8/OBO/Core/Term.pm Installed: undef CPAN: undef up to date Erick Antezana (EASR) erick.antezana@gmail.com $ perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=darwin, osvers=9.0, archname=darwin-thread-multi-2level uname='darwin b02.apple.com 9.0 darwin kernel version 9.3.0: tue aug 12 17:18:07 pdt 2008; root:xnu-1228.5.90~13release_i386 i386 ' uname -a Darwin KELFER.BIO.NYU.EDU 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
Solved in 1.24. An empty definition is now: "" []


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.