Group
Extension

Matches 35358

Bencher-Scenarios-LogAny ( P/PE/PERLANCAR/Bencher-Scenarios-LogAny-0.09.tar.gz, PERLANCAR, 2017; MetaCPAN )
Bencher-Scenarios-LogAny/lib/Bencher/Scenario/LogAny/NoAdapterLogging.pm ( view source; MetaCPAN )
x version 3.16.0-4-amd64 >>.

Benchmark with C<< bencher -m LogAny::NoAdapterLogging --env-hashes-json '[{"PERL5OPT":"-Iarchive/Log-Any-1.040/lib"},{"PERL5OPT":"-Iarchive/Log-Any-1.041/lib"}]' >>:

 #
Telegram-CamshotBot ( P/PA/PAVELSR/Telegram-CamshotBot-0.03.tar.gz, PAVELSR, 2017; MetaCPAN )
Telegram-CamshotBot/lib/Telegram/CamshotBot.pm ( view source; MetaCPAN )
random_caption abs_path_of_sample_mojo_conf fev);
use Mojolicious::Lite;
use Mojolicious::Plugin::JSONConfig;
use Mojolicious::Plugin::Webtail;
use WWW::Telegram::BotAPI;
use Date::Format;
use Telegra
ot',
  getcwd.'/camshotbot.conf.json',
  abs_path_of_sample_mojo_conf(__PACKAGE__),
);

print "Using config: ".$config_file_path."\n";

my $config_values = plugin 'JSONConfig' => { file => $config_fil


post '/'.$telegram_token => sub {
  my $c = shift;
  my $update = $c->req->json;
  $c->answer($update);
  $c->render(json => "ok");
};

get '/' => sub {
	shift->render(text => 'bot is running');
};
Array-2D ( A/AA/AARONRP/Array-2D-0.001_005.tar.gz, AARONRP, 2017; MetaCPAN )
Array-2D/lib/Array/2D.pm ( view source; MetaCPAN )
item *

Alternatives to the methods that result in padded rather than pruned data.

=item *

CSV, JSON, maybe other file types in C<new_from_file()> and C<file()>.

=back

=head1 SEE ALSO

Some other 
Dist-Zilla-Plugin-Rinci-AbstractFromMeta ( P/PE/PERLANCAR/Dist-Zilla-Plugin-Rinci-AbstractFromMeta-0.10.tar.gz, PERLANCAR, 2017; MetaCPAN )
Dist-Zilla-Plugin-Rinci-AbstractFromMeta/lib/Dist/Zilla/Plugin/Rinci/AbstractFromMeta.pm ( view source; MetaCPAN )

    $abstract;
}

# dzil also wants to get abstract for main module to put in dist's
# META.{yml,json}
sub before_build {
   my $self  = shift;
   my $name  = $self->zilla->name;
   my $class = $name
Mythfs-perl ( L/LD/LDS/Mythfs-perl-1.36.tar.gz, LDS, 2017; MetaCPAN )
Mythfs-perl/lib/Net/MythTV/Fuse/Recordings.pm ( view source; MetaCPAN )
nd.

=head1 METHODS

=cut

use strict;
use POSIX 'strftime';
use LWP::UserAgent;
use JSON qw(encode_json decode_json);
use Date::Parse 'str2time';
use XML::Simple;
use threads;
use threads::shared;
us
ltaneous http gets 

# This single shared variable caches the recorded list from the backend as a JSONized string.
# Within each thread, the list is then unserialized and temporarily cached in each th
$Cache{mtime}\n" if $self->debug;
    $self->mtime($Cache{mtime});
    return $self->cache(decode_json($Cache{recorded}||''));
}

=head2 $path = $r->recording_to_path($metadata)

Given the metadata re
Perinci-Access-Simple-Client ( P/PE/PERLANCAR/Perinci-Access-Simple-Client-0.23.tar.gz, PERLANCAR, 2017; MetaCPAN )
Perinci-Access-Simple-Client/lib/Perinci/Access/Simple/Client.pm ( view source; MetaCPAN )
               "uri=%s", $srvsch, $host, $port, $path, $args, $uri);

    require JSON::MaybeXS;
    state $json = JSON::MaybeXS->new->allow_nonref;

    my $attempts = 0;
    my $do_retry;
    my $e;
        my $req_json;
        eval { $req_json = $json->encode($req) };
        $e = $@;
        return [400, "Can't encode request as JSON: $e"] if $e;

        $out->write("j$req_json\015\012");
   
     log_trace("Sent request to server: %s", $req_json);

        # XXX alarm/timeout
        my $line = $in->getline;
        log_trace("Got line from server: %s", $line);
        if (!$line) {
     
JSON-Assert ( S/SG/SGREEN/JSON-Assert-0.08.tar.gz, SGREEN, 2017; MetaCPAN )
JSON-Assert/lib/JSON/Assert/Changes.pod ( view source; MetaCPAN )
=head1 CHANGELOG FOR JSON::Assert

=head2 VERSION 0.08,  7 JULY 2017

=over

=item *

Fix missing dep for MooX::Types::MooseLike::Base

=back

=head2 VERSION 0.07, 27 JUNE 2017

=over

=item *

RT #12
06 DECEMBER 2016

=over

=item *

Added does_jpath_contains method to Test::JSON::Assert, 
fixed does_jpath_contains in JSON::Assert

=back

=head2 VERSION 0.03, 15 MAY 2015

=over

=item *

Replaced 
CPAN-Testers-WWW-Reports ( B/BA/BARBIE/CPAN-Testers-WWW-Reports-3.60.tar.gz, BARBIE, 2017; MetaCPAN )
CPAN-Testers-WWW-Reports/lib/Labyrinth/Plugin/CPAN/Authors.pm ( view source; MetaCPAN )
inth::DTUtils;
use Labyrinth::Plugin::CPAN;
use Labyrinth::Variables;
use Labyrinth::Writer;

use JSON::XS;

#----------------------------------------------------------------------------
# Public Inte
arams{name});
            $tvars{update} = 1;
        }
    }

    # decode from JSON string
    my $parms = decode_json($summary[0]->{dataset});
    for my $key (keys %$parms) { $tvars{$key} = $parms
CPAN-Testers-WWW-Reports ( B/BA/BARBIE/CPAN-Testers-WWW-Reports-3.60.tar.gz, BARBIE, 2017; MetaCPAN )
CPAN-Testers-WWW-Reports/lib/Labyrinth/Plugin/CPAN/Distros.pm ( view source; MetaCPAN )
inth::DTUtils;
use Labyrinth::Plugin::CPAN;
use Labyrinth::Variables;
use Labyrinth::Writer;

use JSON::XS;

#----------------------------------------------------------------------------
# Public Inte
arams{name});
            $tvars{update} = 1;
        }
    }

    # decode from JSON string
    my $parms = decode_json($summary[0]->{dataset});
    for my $key (keys %$parms) { $tvars{$key} = $parms
CPAN-Testers-WWW-Reports ( B/BA/BARBIE/CPAN-Testers-WWW-Reports-3.60.tar.gz, BARBIE, 2017; MetaCPAN )
CPAN-Testers-WWW-Reports/lib/Labyrinth/Plugin/CPAN/Report.pm ( view source; MetaCPAN )
act::LegacyReport;
use CPAN::Testers::Fact::TestSummary;
use File::Slurp;
use HTML::Entities;
use JSON::XS;
use Metabase::Resource;
use XML::RSS;
use YAML::XS;

#--------------------------------------
m DistroRSS

Return the RSS feed for a given distribution.

=item load_rss

Reads the appropriate JSON file and returns an RSS feed.

=item make_rss

Creates an RSS feed from a given data set.

=item 
istroYAML

Return the YAML feed for a given distribution.

=item load_yaml

Reads the appropriate JSON file and returns an YAML feed.

=back

=cut

sub View {
    if($cgiparams{id} =~ /^\d+$/) {
     
CPAN-Testers-WWW-Reports ( B/BA/BARBIE/CPAN-Testers-WWW-Reports-3.60.tar.gz, BARBIE, 2017; MetaCPAN )
CPAN-Testers-WWW-Reports/vhost/toolkit/reports-checker.pl ( view source; MetaCPAN )
als;
use Labyrinth::Variables;

use Labyrinth::Plugin::Content;
use Labyrinth::Plugin::CPAN;

use JSON::XS;
use File::Find::Rule;
use File::Slurp;
use Getopt::Long;

#---------------------------------
uthor_lower($cpan,$dbx);
    check_distro_lower($cpan,$dbx);

#    check_author_json($cpan,$dbx);
#    check_distro_json($cpan,$dbx);

    _log("Finish");
}

sub prep_hashes {
    my ($cpan,$dbx) = @_
('hash','GetAuthorSummary',$row->{author});
        if(@summary) {
            my $tvars = decode_json($summary[0]->{dataset});
            next    unless($tvars->{distributions});

            my $do
CPAN-Testers-WWW-Reports ( B/BA/BARBIE/CPAN-Testers-WWW-Reports-3.60.tar.gz, BARBIE, 2017; MetaCPAN )
CPAN-Testers-WWW-Reports/vhost/toolkit/compress-reports.pl ( view source; MetaCPAN )
w = $rows[0];

        my ($data,$json);
        eval {
            $json = $serializer->deserialize($row->{report});
            $data = $serializer->serialize($json);
        };

        if($@ || !$
CPAN-Testers-WWW-Reports ( B/BA/BARBIE/CPAN-Testers-WWW-Reports-3.60.tar.gz, BARBIE, 2017; MetaCPAN )
CPAN-Testers-WWW-Reports/vhost/toolkit/osname.pl ( view source; MetaCPAN )
als;
use Labyrinth::Variables;

use Labyrinth::Plugin::Content;
use Labyrinth::Plugin::CPAN;

use JSON::XS;
use File::Find::Rule;
use File::Slurp;
use Getopt::Long;

use CPAN::Testers::Common::Article
ixed");
}

sub _check_arch_os {
    my $row = shift;

    my $data = decode_json($row->{report});

    my $fact = decode_json($data->{'CPAN::Testers::Fact::LegacyReport'}{content});
    my $textreport
CPAN-Testers-WWW-Reports ( B/BA/BARBIE/CPAN-Testers-WWW-Reports-3.60.tar.gz, BARBIE, 2017; MetaCPAN )
CPAN-Testers-WWW-Reports/lib/Labyrinth/Plugin/CPAN/Builder.pm ( view source; MetaCPAN )
th::Plugin::Articles::Site;

use Clone   qw(clone);
use Cwd;
use File::Path;
use File::Slurp;
use JSON::XS;
#use Sort::Versions;
use Time::Local;
use Try::Tiny;
use XML::RSS;
#use YAML::XS;
use versio
cache/$author.json";

        try {
            # load JSON, if we have one
            if(-f $destfile) {
                $progress->( ".. processing rmauth $author $name (cleaning JSON file)" )     
JSON file)" )     if(defined $progress);
                my $store;
                eval { $store = decode_json($data) };
                $progress->( ".. processing rmauth $author $name (decoded JSON
Telegram-CamshotBot ( P/PA/PAVELSR/Telegram-CamshotBot-0.03.tar.gz, PAVELSR, 2017; MetaCPAN )
Telegram-CamshotBot/lib/Telegram/CamshotBot/Util.pm ( view source; MetaCPAN )
_name = $app_pm_basename;
  $app_name =~ s/\.pm//;
  return dirname($pm_location).'/'.$app_name.".json.example";
}


sub first_existing_variable {
  for(@_){ return $_ if $_ }
  # return (grep{$_}@_)[
mple_mojo_conf

When packaging as module Mojolicious applications that use
L<Mojolicious::Plugin::JSONConfig> or L<Mojolicious::Plugin::Config>
it's needed to create a sample file inside of it

This f
call it same as *.pm file NAME

E.g. you have CamshotBot.pm so you must name config as CamshotBot.json.example

=head2 first_existing_variable

Return first existing non-empty variable or undef from g
Perinci-Access-HTTP-Client ( P/PE/PERLANCAR/Perinci-Access-HTTP-Client-0.24.tar.gz, PERLANCAR, 2017; MetaCPAN )
Perinci-Access-HTTP-Client/lib/Perinci/Access/HTTP/Client.pm ( view source; MetaCPAN )
$res = $self->check_request($rreq);
    return $res if $res;

    state $json = do {
        require JSON::MaybeXS;
        JSON::MaybeXS->new->allow_nonref;
    };

    state $ua;
    state $callback
eq->{$_};
        if (!defined($hv) || ref($hv)) {
            $hk = "$hk-j-";
            $hv = $json->encode($hv);
        }
        $http_req->header($hk => $hv);
    }
    $ua->{__log_level} = $se
ap-fmt'      => 'json');

    my %args;
    if ($rreq->{args}) {
        for (keys %{$rreq->{args}}) {
            $args{$_} = $rreq->{args}{$_};
        }
    }
    my $args_s = $json->encode(\%args)
App-Critique ( S/ST/STEVAN/App-Critique-0.05.tar.gz, STEVAN, 2017; MetaCPAN )
App-Critique/lib/App/Critique/Command/init.pm ( view source; MetaCPAN )
d line options, and will look
something like this:

  ~/.critique/<git-repo>/<git-branch>/session.json

The value of C<git-repo> will be surmised from the C<git-work-tree>
which itself defaults to fin
Dancer2-Plugin-Locale ( D/DM/DMUEY/Dancer2-Plugin-Locale-0.07.tar.gz, DMUEY, 2017; MetaCPAN )
Dancer2-Plugin-Locale/lib/Dancer2/Plugin/Locale.pm ( view source; MetaCPAN )
e = readdir($dh) ) {
                next if $file !~ m/\.json$/;
                next if $file eq 'en.json';
                $file =~ s/\.json//;
                if ( Locales::normalize_tag($file) ne
 $file ) {
                    warn "Skipping un-normalized locale named lexicon ($file.json) …\n";                                                                      # just no apparent need to co

                }

                if ( !-f "$locale_dir/$file.json" ) {
                    warn "Skipping non-file lexicon ($file.json) …\n";
                    next;
                }

        
RabbitMQ-Consumer-Batcher ( J/JA/JASEI/RabbitMQ-Consumer-Batcher-0.1.1.tar.gz, JASEI, 2017; MetaCPAN )
RabbitMQ-Consumer-Batcher/lib/RabbitMQ/Consumer/Batcher/Message.pm ( view source; MetaCPAN )
r' => (
    is       => 'ro',
    #bless(
    #    {
    #        'content_type'  => 'application/json',
    #        'priority'      => 1,
    #        'timestamp'     => 1498807603,
    #        'us
WebService-BR-Vindi ( D/DL/DLIMA/WebService-BR-Vindi-0.04.tar.gz, DLIMA, 2017; MetaCPAN )
WebService-BR-Vindi/lib/WebService/BR/Vindi.pm ( view source; MetaCPAN )
s;

our @ISA = qw();

our $VERSION = '0.04';


# Preloaded methods go here.
use MIME::Base64;
use JSON::XS;
use utf8;

# Configura as URLs de destino baseado na tag raiz
$WebService::BR::Vindi::Target
 );
 $class->{ua}->ssl_opts( verify_hostname => 0 );
 $class->{ua}->env_proxy;

 # JSON helper
 $class->{json} = JSON::XS->new->allow_nonref->utf8;


 bless( $class, $self );
}

#
# Make the next requ
).' if !$_[0]->{app};
 $_[0]->{failsafe} = 1;
 $_[0];
}

sub ua      { shift->{ua} }
sub json    { shift->{json} }
sub app     { shift->{app} }



#
# Faz uma requisição
#
# @param $Endpoint    Tipo

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