Group
Extension

Matches 35359

CPANPLUS-Dist-Arch ( J/JN/JNBEK/CPANPLUS-Dist-Arch-1.32.tar.gz, JNBEK, 2015; MetaCPAN )
CPANPLUS-Dist-Arch/lib/CPANPLUS/Dist/Arch.pm ( view source; MetaCPAN )
----------------------

sub _metapath
{
    my ($mod) = @_;
    my $metapath;
    for my $ext (qw/json yml/) {
        my $p = catfile($mod->status->extract, "META.$ext");
        if (-f $p) {
       
  return if ( $d eq $b );
    }
    return $d;
    
}

#--- PRIVATE METHOD ---
# We read the META.json or META.yml file with Parse::CPAN::META and extract
# data needed for makedepends and pkgdesc if 
odobj) = ($self->status, $self->parent);

    # Leave metareqs undef if there is no META.yml/META.json.
    my $path = _metapath($modobj) or return;    
    my $meta = eval { Parse::CPAN::Meta::LoadFi
BenchmarkAnything-Reporter ( S/SC/SCHWIGON/BenchmarkAnything-Reporter-0.003.tar.gz, SCHWIGON, 2015; MetaCPAN )
BenchmarkAnything-Reporter/lib/BenchmarkAnything/Reporter.pm ( view source; MetaCPAN )
int "Report data...\n" if $self->{verbose} or $self->{debug};
        my $res = $ua->post($url => json => $data)->res;
        print "Done.\n" if $self->{verbose} or $self->{debug};

        die "benc
CatalystX-Eta ( R/RE/RENTOCRON/CatalystX-Eta-0.08.tar.gz, RENTOCRON, 2015; MetaCPAN )
CatalystX-Eta/lib/CatalystX/Eta/Controller/REST.pm ( view source; MetaCPAN )
se JSON::MaybeXS;

BEGIN { extends 'Catalyst::Controller::REST' }

__PACKAGE__->config(
    default => 'application/json',
    'map'   => {
        'application/json' => 'JSON',
        'text/x-json' 
     => 'JSON',
    },
);

sub end : Private {
    my ( $self, $c ) = @_;

    #... do things before Serializing ...
    my $code = $c->res->status;
    if ( scalar( @{ $c->error } ) ) {
        $code
CatalystX-Eta ( R/RE/RENTOCRON/CatalystX-Eta-0.08.tar.gz, RENTOCRON, 2015; MetaCPAN )
CatalystX-Eta/lib/CatalystX/Eta/Controller/TypesValidation.pm ( view source; MetaCPAN )
alystX::Eta::Controller::TypesValidation;

use Moose::Role;
use Moose::Util::TypeConstraints;
use JSON::MaybeXS;

sub validate_request_params {
    my $self = shift;

    my ( $c, %fields ) = @_;

   
Catmandu-Zotero ( H/HO/HOCHSTEN/Catmandu-Zotero-0.07.tar.gz, HOCHSTEN, 2015; MetaCPAN )
Catmandu-Zotero/lib/Catmandu/Importer/Zotero.pm ( view source; MetaCPAN )
 the command line
    $ catmandu convert Zotero --userID <userID> to JSON
    $ catmandu convert Zotero --groupID <groupID> to JSON
  
    # From Perl
    use Catmandu;

    my $importer = Catmandu->i
XTaTIK ( Z/ZO/ZOFFIX/XTaTIK-0.005002.tar.gz, ZOFFIX, 2015; MetaCPAN )
XTaTIK/lib/XTaTIK/Model/Quotes.pm ( view source; MetaCPAN )
N

use Mojo::Base -base;
use XTaTIK::Model::Products;
use XTaTIK::Model::Quote;
use Mojo::Pg;
use JSON::Meth;

use experimental 'postderef';

has [qw/
    pg
/];

sub all {
    my $self = shift;

    
XTaTIK ( Z/ZO/ZOFFIX/XTaTIK-0.005002.tar.gz, ZOFFIX, 2015; MetaCPAN )
XTaTIK/lib/XTaTIK/Model/Quote.pm ( view source; MetaCPAN )
ION = '0.005002'; # VERSION

use Mojo::Base -base;
use XTaTIK::Model::Products;
use Mojo::Pg;
use JSON::Meth;

use experimental 'postderef';

my @ACCESSORS = qw/contents created_on
    address1  addre
XTaTIK ( Z/ZO/ZOFFIX/XTaTIK-0.005002.tar.gz, ZOFFIX, 2015; MetaCPAN )
XTaTIK/lib/XTaTIK/Model/Cart.pm ( view source; MetaCPAN )
N

use Mojo::Base -base;
use XTaTIK::Model::Products;
use XTaTIK::Model::Quote;
use Mojo::Pg;
use JSON::Meth;

use experimental 'postderef';

my $Blank_Cart_Data = {
    contents => [],
    total    =
Geo-Hex-V3-XS ( K/KA/KARUPA/Geo-Hex-V3-XS-0.11.tar.gz, KARUPA, 2015; MetaCPAN )
Geo-Hex-V3-XS/deps/c-geohex3/author/make-test-cases.pl ( view source; MetaCPAN )
4.0;

my $VERSION    = 0.11;
my $URL_FORMAT = "http://geohex.net/testcase/hex_v${VERSION}_test_%s.json";
my @CASES = qw!
    XY2HEX
    code2HEX
    code2XY
    coord2HEX
    coord2XY
!;

my @EXTRA = 


use File::Temp qw/tempdir/;
use File::Basename qw/dirname/;
use File::Spec;
use HTTP::Tiny;
use JSON::PP;

main();

sub main {
    my $dir = tempdir(CLEANUP => 1);

    # download
    my $ua = HTTP:
$dir, "$case.json");
        my $res = $ua->mirror($url, $path);
        die "Failed: $res->{reason}" unless $res->{success};
    }

    # parse & generate
    my @src;
    my $json = JSON::PP->new;
 
Mojo-Cloudstack ( H/HR/HRUPP/Mojo-Cloudstack-0.07.tar.gz, HRUPP, 2015; MetaCPAN )
Mojo-Cloudstack/lib/Mojo/Cloudstack.pm ( view source; MetaCPAN )
Mojo::Base 'Mojo::UserAgent';
use Mojo::Parameters;
use Mojo::URL;
use Mojo::UserAgent;
use Mojo::JSON 'j';
use Mojo::Util 'slurp';
use Mojo::Collection 'c';
use Mojo::Cloudstack::Base;
use Mojo::Clou
LOAD;

chomp(our $user = `whoami`);
our $cf = File::HomeDir->users_home($user) . "/.cloudmojo/api.json";

sub _build_request {
  my ($self, $params) = @_;
  my $baseurl = sprintf ("%s://%s:%s%s?", $se
, $self->port, $self->path);
  $params->{ apiKey }   = $self->api_key;
  $params->{ response } = 'json';
  my $secret_key = $self->secret_key;

  my $req_params = Mojo::Parameters->new();
  foreach my
Tk-MenuDialog ( P/PD/PDURDEN/Tk-MenuDialog-0.05.tar.gz, PDURDEN, 2015; MetaCPAN )
Tk-MenuDialog/lib/Tk/MenuDialog.pm ( view source; MetaCPAN )
 qw(confess cluck);
use Tk;
use Tk::Photo;
use Tk::PNG;
use Tk::JPEG;
use Data::Dumper;
use JSON;
use Try::Tiny;

## Version string
our $VERSION = qq{0.05};

## Used when importing a form,
($param)

=over 2

=item B<Description>

initialize the form from a HASH reference, JSON string, or JSON file.
In all cases, the hash should have the following format

  {
    title      => 
ng',
      },
    ]
  }

=item B<Parameters>

$param - HASH reference, or scalar containin JSON string, or filename

=item B<Return>

NONE

=back

=cut

##----------------------------
XTaTIK ( Z/ZO/ZOFFIX/XTaTIK-0.005002.tar.gz, ZOFFIX, 2015; MetaCPAN )
XTaTIK/lib/XTaTIK/Controller/User.pm ( view source; MetaCPAN )
2'; # VERSION

use Mojo::Base 'Mojolicious::Controller';
use experimental 'postderef';
use JSON::Meth qw/$json/;

sub login {
    my $self = shift;

    my $user = $self->users->check(
        $self->
self->config('site') )->@*;
    my @list;
    for ( @prods ) {
        my $pr = $_->{price_raw}->$json->{ $self->config('site') };
        if ( ref $pr ) {
            $pr = join ',', map "${_}_$pr->{
XTaTIK ( Z/ZO/ZOFFIX/XTaTIK-0.005002.tar.gz, ZOFFIX, 2015; MetaCPAN )
XTaTIK/lib/XTaTIK/Model/Products.pm ( view source; MetaCPAN )
qw/sort_by  extract_by/;
use Scalar::Util qw/blessed/;
use experimental qw/postderef/;
use JSON::Meth qw/$json/;

use autobox;
sub SCALAR::split_comma { [ split /\s*,\s*/, $_[0] ] }

has [qw/pg  prici
} }

    $values{sites} //= 'default';
    $values{price} //= { default => { '00' => '0.00' } }->$json;

    return $self->pg->db->query(
        'INSERT INTO products (number, image, title,
         
/g;

        # Remove site's pricing
        my $p = $_->{price}->$json;
        delete $p->{ $site };
        $_->{price} = $p->$json;

        $self->pg->db->query(
            q{UPDATE products SET
Catmandu-Zotero ( H/HO/HOCHSTEN/Catmandu-Zotero-0.07.tar.gz, HOCHSTEN, 2015; MetaCPAN )
Catmandu-Zotero/lib/Catmandu/Zotero.pm ( view source; MetaCPAN )
rom the command line
  $ catmandu convert Zotero --userID <userID> to JSON
  $ catmandu convert Zotero --groupID <groupID> to JSON
  
  # From Perl
  use Catmandu;

  my $importer = Catmandu->importer
Webqq-Client ( S/SJ/SJDY/Webqq-Client-8.5.3.tar.gz, SJDY, 2015; MetaCPAN )
Webqq-Client/lib/Plack/App/Openqq/GetGroupInfo.pm ( view source; MetaCPAN )
escape);
use JSON;
sub call{
    my $self = shift;
    my $client = $self->{client};
    my $env  = shift;
    return [
        200,
        ['Content-Type' => 'text/plain'],
        [JSON->new->encod
Webqq-Client ( S/SJ/SJDY/Webqq-Client-8.5.3.tar.gz, SJDY, 2015; MetaCPAN )
Webqq-Client/lib/Plack/App/Openqq/SendMessage.pm ( view source; MetaCPAN )
:App::Openqq::SendMessage;
use parent qw(Plack::Component);
use URI::Escape qw(uri_unescape);
use JSON;
use Encode;
sub call{
    my $self = shift;
    my $client = $self->{client};
    my $env  = shi
  };
            my $json = JSON->new->utf8->encode($res);
            $responder->([
                200,
                ['Content-Type' => 'text/plain'],
                [$json],
            ]);
  
Webqq-Client ( S/SJ/SJDY/Webqq-Client-8.5.3.tar.gz, SJDY, 2015; MetaCPAN )
Webqq-Client/lib/Webqq/Client/Method/_get_group_sig.pm ( view source; MetaCPAN )
use JSON;
sub Webqq::Client::_get_group_sig {
    my $self = shift;
    my($id,$to_uin,$service_type,) = @_;
    my $cache_data = $self->{cache_for_group_sig}->retrieve("$id|$to_uin|$service_type");
 
nt() if $self->{debug};
        my $json = JSON->new->utf8->decode($response->content()); 
        return undef if $json->{retcode}!=0;
        return undef if $json->{result}{value} eq "";
        $s
elf->{cache_for_group_sig}->store("$id|$to_uin|$service_type",$json->{result}{value},300);
        return $json->{result}{value} ;
    }
    else{return undef}
}
1;
Webqq-Client ( S/SJ/SJDY/Webqq-Client-8.5.3.tar.gz, SJDY, 2015; MetaCPAN )
Webqq-Client/lib/Webqq/Client/Method/_get_friend_info.pm ( view source; MetaCPAN )
use JSON;
use Webqq::Client::Util qw(code2state);
sub Webqq::Client::_get_friend_info{
    my $self = shift;
    my $uin = shift;
    my $api_url = 'http://s.web2.qq.com/api/get_friend_info2';
    my 
" if $self->{debug};
        my $json = JSON->new->utf8->decode( $response->content() );    
        return undef if $json->{retcode} !=0;
        my $user_info = $json->{result};
        for my $key 
WebService-Scaleway ( M/MG/MGV/WebService-Scaleway-0.001001.tar.gz, MGV, 2015; MetaCPAN )
WebService-Scaleway/lib/WebService/Scaleway.pm ( view source; MetaCPAN )
0;
use strict;
use warnings;

our $VERSION = '0.001001';

use Carp qw/croak/;
use HTTP::Tiny;
use JSON::MaybeXS;
use Scalar::Util qw/blessed/;

my $ht = HTTP::Tiny->new(
	agent      => "WebService-Sca
s->{headers}{'X-Auth-Token'} = $$self if $$self;
	$opts->{headers}{'Content-Type'} = 'application/json';
	my $ret = $ht->request($method, $url, $opts);
	die 'Request to Scaleway API server was unsucce
. $ret->{status} . ' ' . $ret->{reason} . '; ' . $ret->{content} unless $ret->{success};

	decode_json $ret->{content} if $ret->{status} != 204;
}

sub _get    { shift->_request(GET    => @_) }
sub _p
Webqq-Client ( S/SJ/SJDY/Webqq-Client-8.5.3.tar.gz, SJDY, 2015; MetaCPAN )
Webqq-Client/lib/Plack/App/Openqq/SendDiscussMessage.pm ( view source; MetaCPAN )
penqq::SendDiscussMessage;
use parent qw(Plack::Component);
use URI::Escape qw(uri_unescape);
use JSON;
use Encode;
sub call{
    my $self = shift;
    my $client = $self->{client};
    my $env  = shi
  };
            my $json = JSON->new->utf8->encode($res);
            $responder->([
                200,
                ['Content-Type' => 'text/plain'],
                [$json],
            ]);
  

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