App::CPANIDX::Renderer - Generates web content for App::CPANIDX
my @types = App::CPANIDX::Renderer->renderers; my $ren = App::CPANIDX::Renderer->new( \@data, 'yaml' ); my ($content_type, $content) = $ren->render();
App::CPANIDX::Renderer renders web content for App::CPANIDX.
Returns a new App::CPANIDX::Renderer object. Takes two parameters, an arrayref of data to be rendered, which is required, and the format, either
html, to render to, which defaults to
Returns a list of the supported renderers.
my @types = App::CPANIDX::Renderer->renderers;
Renders the previously supplied data to the format specified. Optionally takes one parameter, which mainly has utility with the
BinGOs Williams <email@example.com>
Copyright © Chris Williams
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.