Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Bio-Phylo CPAN distribution.

Report information
The Basics
Id: 20720
Status: resolved
Priority: 0/
Queue: Bio-Phylo

People
Owner: Nobody in particular
Requestors: stefan.kirov [...] bms.com
Cc:
AdminCc:

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



Subject: SVG module capitalization: portability
Date: Thu, 27 Jul 2006 11:58:28 -0400
To: bug-Bio-Phylo [...] rt.cpan.org
From: Stefan Kirov <stefan.kirov [...] bms.com>
In Bio::Phylo::Treedrawer, line 96 converts all values to upper case, which makes Svg become SVG. later ucfirst (line 730) will not convert SVG to Svg in all environments, so perl ends up searching for Bio::Phylo::Treedrawer::SVG (which of course does not exits). This is a portability issue I believe and is due to ucfirst behavior with different local policies (LC_CTYPE). Hope this helps. Stefan Kirov
On Thu Jul 27 11:59:55 2006, stefan.kirov@bms.com wrote: Show quoted text
> In Bio::Phylo::Treedrawer, line 96 converts all values to upper case, > which makes Svg become SVG. later ucfirst (line 730) will not convert > SVG to Svg in all environments, so perl ends up searching for > Bio::Phylo::Treedrawer::SVG (which of course does not exits). This is a > portability issue I believe and is due to ucfirst behavior with > different local policies (LC_CTYPE). > Hope this helps. > Stefan Kirov
This will be fixed in v.0.13.
This issue is resolved, treedrawer loading is done by requiring "__PACKAGE__ . '::' . ucfirst( lc( $format ) )", so Svg.pm is loaded correctly on case-sensitive file system. I now consider this issue resolved. Best wishes, Rutger Vos