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