|Subject:||Doc bug - escaping|
I like the current behavior of XML::Generator, but it doesn't match the docs. I'm assuming this is a doc bug, so here's a doc patch. The behavior in question is what happens to scalar references in $xml->tag(\$text). With the current behavior I can do stuff like this: $text = $xml->inner( "foo" ); print $xml->outer( \$text ); And I end up with "<outer><inner>foo</inner></outer>". That allows me to build up documents from smaller chunks. -Ken
Message body not shown because it is not plain text.