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

Owner: erick.antezana [...]
Requestors: artg [...]

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/ line 451. when a Term doesn't have a definition. E.g., consider [Term] id: PO:0009076 in 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/ Installed: undef CPAN: undef up to date Erick Antezana (EASR) $ 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 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 infrastructure.

Please report any issues with to