\$doc is a reference to an XML::Writer::_String object instead of a reference to a scalar,
Well, it's both, seeing as $doc is a scalar. And furthermore, the contents of the scalar are obviously meant to be used as a string (If not, $doc would be given a reference.) So don't be afraid to use it as a string.
In reply to Re^3: XML::Writer oddness
by ikegami
in thread XML::Writer oddness
by TedHopp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |