Group
Extension

Matches 2

App-CPANIDX ( B/BI/BINGOS/App-CPANIDX-0.40.tar.gz, BINGOS, 2017; MetaCPAN )
App-CPANIDX/lib/App/CPANIDX.pm ( view source; MetaCPAN )
rmation from the CPAN Index.

The information is provided in a number of different formats: YAML, JSON, XML and HTML.

Information is requested by using a special URL

  http://name.of.website/<prefix
he purposes of this documentation.

=over

=item C<<format>>

The format may be one of C<yaml>, C<json>, C<xml> or C<html>.

=item C<<cmd>>

The command may be one of the following:

=over

=item C<mo
App-CPANIDX ( B/BI/BINGOS/App-CPANIDX-0.40.tar.gz, BINGOS, 2017; MetaCPAN )
App-CPANIDX/lib/App/CPANIDX/Renderer.pm ( view source; MetaCPAN )
L::Tiny;
use JSON::XS;
use XML::Simple;
use HTML::Tiny;
use vars qw[$VERSION];

$VERSION = '0.40';

my %types = (
  'yaml', 'application/x-yaml; charset=utf-8',
  'json', 'application/json; charset=ut
             return $string;
          },
  'json', sub {
                my $ref = shift;
                my $string;
                eval { $string = JSON::XS->new->utf8(1)->pretty(1)->encode( $ref 
ameters, an arrayref of
data to be rendered, which is required, and the format, either C<yaml>, C<json>, C<xml>
or C<html>, to render to, which defaults to C<yaml>.

=back

=head1 CLASS METHODS

=over

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.