r => 'Acme::VOYAGEGROUP::ConferenceRoom::Output::Color',
json => 'Acme::VOYAGEGROUP::ConferenceRoom::Output::JSON',
xml => 'Acme::VOYAGEGROUP::ConferenceRoom::Output::X
yValidation;
{
$HTML::FormFu::Role::JQueryValidation::VERSION = '1.01';
}
use Moose::Role;
use JSON::Any;
use Scalar::Util qw( refaddr reftype );
sub jquery_validation_profile {
my ( $self ) =
}
}
}
return \%js;
}
sub jquery_validation_json {
my ( $self ) = @_;
return JSON::Any->objToJson( $self->jquery_validation_profile );
}
sub jquery_validation_errors
y.validate.min.js" />
<script>
$("#form").validate( [% form.jquery_validation_json %] );
</script>
</body>
</html>
=head1 DESCRIPTION
Experimental support for cli
= cwd();
chdir '/tmp/cpan-fixes';
cpanm(@params);
chdir $cwd;
}
sub parse_meta_json {
$_[0] ||= 'META.json';
require CPAN::Meta;
return CPAN::Meta->load_file( $_[0] );
}
sub import {
m
ixes;
$caller_stash->{cpanm_fix} = *cpanm_fix;
$caller_stash->{parse_meta_json} = *parse_meta_json;
$caller_stash->{capture_stdout} = *capture_stdout;
$caller_stash->{deploy_st
if ( env_true('AUTHOR_TESTING') or env_true('RELEASE_TESTING') ) {
my $prereqs = parse_meta_json()->effective_prereqs;
my $reqs = $prereqs->requirements_for( 'develop', 'requires' );
my
ackage WWW::HarWalk;
use 5.006;
use strict;
use warnings FATAL => 'all';
use Carp qw(croak);
use JSON;
use HTTP::Request;
use base qw(Exporter);
=head1 NAME
WWW::HarWalk - Replay HTTP requests from
{
local $/;
$content = <$fh>;
}
close $fh;
my $json = JSON->new->utf8;
my $o = $json->decode($content);
while (my $entry = shift @{$o->{log}->{entries}}) {
ion/x-gzip',
xls => 'application/vnd.ms-excel',
zip => 'application/zip',
json => 'application/json',
yml => 'application/x-yaml',
);
# prime the cache with some typical defaults
= cwd();
chdir '/tmp/cpan-fixes';
cpanm(@params);
chdir $cwd;
}
sub parse_meta_json {
$_[0] ||= 'META.json';
require CPAN::Meta;
return CPAN::Meta->load_file( $_[0] );
}
sub import {
m
ixes;
$caller_stash->{cpanm_fix} = *cpanm_fix;
$caller_stash->{parse_meta_json} = *parse_meta_json;
$caller_stash->{capture_stdout} = *capture_stdout;
$caller_stash->{deploy_st
= cwd();
chdir '/tmp/cpan-fixes';
cpanm(@params);
chdir $cwd;
}
sub parse_meta_json {
$_[0] ||= 'META.json';
require CPAN::Meta;
return CPAN::Meta->load_file( $_[0] );
}
sub import {
m
ixes;
$caller_stash->{cpanm_fix} = *cpanm_fix;
$caller_stash->{parse_meta_json} = *parse_meta_json;
$caller_stash->{capture_stdout} = *capture_stdout;
$caller_stash->{deploy_st
= cwd();
chdir '/tmp/cpan-fixes';
cpanm(@params);
chdir $cwd;
}
sub parse_meta_json {
$_[0] ||= 'META.json';
require CPAN::Meta;
return CPAN::Meta->load_file( $_[0] );
}
sub import {
m
ixes;
$caller_stash->{cpanm_fix} = *cpanm_fix;
$caller_stash->{parse_meta_json} = *parse_meta_json;
$caller_stash->{capture_stdout} = *capture_stdout;
$caller_stash->{deploy_st
if ( env_true('AUTHOR_TESTING') or env_true('RELEASE_TESTING') ) {
my $prereqs = parse_meta_json()->effective_prereqs;
my $reqs = $prereqs->requirements_for( 'develop', 'requires' );
my
if ( env_true('AUTHOR_TESTING') or env_true('RELEASE_TESTING') ) {
my $prereqs = parse_meta_json()->effective_prereqs;
my $reqs = $prereqs->requirements_for( 'develop', 'requires' );
my
e strict;
use warnings;
use base qw( SWISH::Prog::Aggregator );
use Carp;
use YAML::Syck ();
use JSON ();
use SWISH::Prog::Utils;
use Scalar::Util qw( blessed );
__PACKAGE__->mk_accessors(
s to Perl built-in
time().
=item serial_format
Which format to use in serialize(). Default is C<json>. You can also use C<yaml>.
If you don't like either of those, subclass SWISH::Prog::Aggregator::
l} ||= 'url';
$self->{modtime} ||= 'modtime';
$self->{serial_format} ||= 'json';
unless ( $self->{methods} ) {
croak "methods required";
}
# set up the co
if ( env_true('AUTHOR_TESTING') or env_true('RELEASE_TESTING') ) {
my $prereqs = parse_meta_json()->effective_prereqs;
my $reqs = $prereqs->requirements_for( 'develop', 'requires' );
my
ove; }
package Padre::Plugin::Shopify::Project;
use parent 'Padre::Role::Task';
use JSON qw(decode_json encode_json);
use File::Slurp;
use WWW::Shopify;
use WWW::Shopify::Model::Shop;
use Padre::Plug
.shopmanifest") {
$self->manifest(decode_json(read_file($directory . "/.shopmanifest")));
}
else {
write_file($directory . "/.shopmanifest", encode_json($self->manifest));
}
$self->update_comb
{shop};
if (-e "$directory/.shopinfo") {
$self->{shop} = WWW::Shopify::Model::Shop->from_json(decode_json(read_file("$directory/.shopinfo")));
}
else {
# To remove unecessary code references an
fined $self->{output_format} and $self->{output_format} eq 'json') {
*pack = *pack_json;
*pack_drainlog = *pack_drainlog_json;
}
srand (time ^ $PID ^ unpack("%L*", `ps axww |
{tag}, $event_stream]);
}
sub pack_json {
use JSON::XS qw/encode_json/;
my ($self,$packer,$fieldname,$lines) = @_;
my $t = time;
return encode_json([$self->{tag}, [map { [$t, {$fieldn
lines}]);
}
sub pack_drainlog_json {
use JSON::XS qw/encode_json/;
my ($self,$packer,$drain_log_tag,$drain_lines) = @_;
my $t = time;
return encode_json([$drain_log_tag, $t, {'drain'
use WWW::Shopify;
use WWW::Shopify::Private;
package WWW::Shopify::Tools::Themer::Manifest;
use JSON;
use File::stat;
use File::Slurp;
use Scalar::Util qw(weaken);
# When we save things down, we tr
_[1];
my $json = decode_json(read_file($_[1]));
for (keys(%{$json->{files}})) {
$json->{files}->{$_}->{'local'} = DateTime->from_epoch(epoch => $json->{files}->{$_}->{'local'});
$json->{files}->
$json->{files}->{$_}->{'remote'});
$json->{files}->{$_}->{'system'} = DateTime->from_epoch(epoch => $json->{files}->{$_}->{'system'});
}
$_[0]->{files} = $json->{files};
$_[0]->{themes} = $json-
nc..
#
# This is free software, licensed under:
#
# The MIT (X11) License
#
use JSON qw( decode_json encode_json );
use LWP::UserAgent;
use version 0.77;
use Moo;
has $_ => ( is => 'rw', require
=> $email, platform => $class->_platform };
return $class->new( un => undef, key => undef )->_json_from_post( 'https://plot.ly/apimkacct', $payload );
}
sub plot { shift->_call_wrap( @_ ) }
sub
key, $origin, %kwargs ) = @_;
my ( $json_args, $json_kwargs );
{
no warnings 'once';
my $required = 2.006;
local *PDL::TO_JSON = sub {
die "PDL version $re
if ( env_true('AUTHOR_TESTING') or env_true('RELEASE_TESTING') ) {
my $prereqs = parse_meta_json()->effective_prereqs;
my $reqs = $prereqs->requirements_for( 'develop', 'requires' );
my
ion Action can be one of several things.
info
Spits out a bunch of theme information in JSON form.
Mainly used for debugging, and gedit integration.
pullAll
Pulls all themes from t
ly and remotely present will be pulled.
=cut
use WWW::Shopify::Tools::Themer;
use JSON qw(encode_json decode_json);
my @ARGS = ();
my $settings = {directory => '.'};
my $interval = 1;
GetOptions(
ectory} . "/.shopsettings", $settings->{directory} . "/.shopmanifest");
my $filesettings = decode_json(read_file($settingFile)) if (-e $settingFile);
for (keys(%$filesettings)) { $settings->{$_} = $fi
= cwd();
chdir '/tmp/cpan-fixes';
cpanm(@params);
chdir $cwd;
}
sub parse_meta_json {
$_[0] ||= 'META.json';
require CPAN::Meta;
return CPAN::Meta->load_file( $_[0] );
}
sub import {
m
ixes;
$caller_stash->{cpanm_fix} = *cpanm_fix;
$caller_stash->{parse_meta_json} = *parse_meta_json;
$caller_stash->{capture_stdout} = *capture_stdout;
$caller_stash->{deploy_st