Group
Extension

Matches 4

DDG ( D/DD/DDG/DDG-1018.tar.gz, DDG, 2017; MetaCPAN )
DDG/lib/DDG/Rewrite.pm ( view source; MetaCPAN )
cate => 'has_from',
);

has callback => (
	is => 'ro',
	predicate => 'has_callback',
);

has wrap_jsonp_callback => (
	is => 'ro',
	default => sub { 0 },
);

has wrap_string_callback => (
    is => 'r
other things into jsonp
	croak "Cannot use wrap_jsonp_callback and wrap_string callback at the same time!" if $self->wrap_jsonp_callback && $self->wrap_string_callback;
	my $wrap_jsonp_callback = $sel
f->has_callback && $self->wrap_jsonp_callback;
	my $wrap_string_callback = $self->has_callback && $self->wrap_string_callback;
	my $uses_echo_module = $wrap_jsonp_callback || $wrap_string_callback;
	m
DDG ( D/DD/DDG/DDG-1018.tar.gz, DDG, 2017; MetaCPAN )
DDG/lib/DDG/Meta/Helper.pm ( view source; MetaCPAN )
rce: ".$text."!",
    html => "<div>text from random source: ".html_enc($text)."!</div>";

Or use JSON-like booleans:

  { option1 => true, option2 => false }

=head1 DESCRIPTION

This meta class inst
DDG ( D/DD/DDG/DDG-1018.tar.gz, DDG, 2017; MetaCPAN )
DDG/lib/DDG/Meta/Data.pm ( view source; MetaCPAN )
CT: Metadata functions for instant answers
$DDG::Meta::Data::VERSION = '1018';
use JSON::XS qw'decode_json encode_json';
use Path::Class;
use File::ShareDir 'dist_file';
use LWP::UserAgent;
use File::
to mkdir $mdir: $!";
    }

    debug && warn "Processing metadata";

    my $f = "$mdir/metadata.json.bz2";
    my $tmp_bak = "$f.bak";
    my @timestamps = (stat $f)[8,9];
    if(-e $f){
        cop
odable());
        my $res = $ua->mirror('http://ddg-community.s3.amazonaws.com/metadata/repo_all.json.bz2', $f);
        unless($res->is_success || $res->code == 304){
            debug && warn "Fail
DDG ( D/DD/DDG/DDG-1018.tar.gz, DDG, 2017; MetaCPAN )
DDG/lib/DDG/Manual/Translation.pod ( view source; MetaCPAN )
ion.

In the JavaScript implementation we have a small Perl program B<po2json> which
converts the same text datafile into a json format that is more usable in
JavaScript. Sadly this datafile must be o
 files will be packed together with all other necessary data
files, like the I<mo> file and the I<json> file for the JavaScript, as a Perl
distribution for our central B<DuckPAN> server, which is used

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