Subject: | Add support for output to a SCALAR ref directly. |
It's really neat that I don't have to use files as an input for Pod::HTML::Tree. I have a purely in memory file generation thingy, and it's very hand.
Unfortunately, it's equally annoying that I can't output to memory, only to the file system.
I'm left to work around it by doing something like.
my $output = '';
my $Scalar = IO::Scalar->new( \$output );
my $Stream = HTML::Stream->new( $Scalar );
my $Pod = Pod::Tree::HTML->new( \$input, $Stream );
Can you please add straight forward support for output into a SCALAR ref,
and possibly also leverage HTML::Stream to support "output to anything that has a ->print method".