Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Pod-Tree CPAN distribution.

Report information
The Basics
Id: 12335
Status: resolved
Priority: 0/
Queue: Pod-Tree

People
Owner: SWMCD [...] cpan.org
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in:
  • 1.11
  • 1.12
  • 1.13
  • 1.14
Fixed in: 1.15



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".