Skip Menu |

This queue is for tickets about the XML-Writer CPAN distribution.

Report information
The Basics
Id: 81327
Status: resolved
Priority: 0/
Queue: XML-Writer

People
Owner: Nobody in particular
Requestors: yanick+cpan [...] babyl.dyndns.org
Cc:
AdminCc:

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



Subject: Add possibility to have the output contained by the object
Patch attached. This is quite a lot of meddling, so I don't know if you want to merge this patch, but juuust in case, here it is. It add the possibility for the object to store its own output. So you can do: my $writer = XML::Writer->new( OUTPUT => 'self' ); $writer->startTag( 'foo'); ... $writer->endTag; $writer->end; print $writer->to_string; # or, magically, print "$writer"; # or even print $writer->end;
Subject: patch
Download patch
application/octet-stream 4.9k

Message body not shown because it is not plain text.

Sure, that looks reasonable and it doesn't affect existing behaviour. Merged into master.