Subject: | Minor documentation problems |
I've been working with the module for a while now and have come across a
few problems and typos in the documentation provided in SVG::Manual.
There are a couple that genuinely caused confusion:
1) Under "group", and probably elsewhere, specifying the 'font' in the
'style' attribute as an array ref causes a literal 'ARRAY(0x...)' to be
output by xmlify. Using a string instead works fine.
2) Under "text", using 'cdata' as an option as in the second example
causes a 'cdata="..."' attribute on the 'text' element, which might
somehow be technically correct but is not something that any SVG viewer
I tried understands. Instead, using the ->cdata(...) method works fine.
Miscellaneous typos:
* s/\. groups/. Groups/
* s/imputed/input/
* s/Refer\\/Refer/
* Last example under "text" is missing a comma after 'y=>10'
Thanks for the handy module,
-Steve