Group
Extension

Matches 4

App-derived ( K/KA/KAZEBURO/App-derived-0.10.tar.gz, KAZEBURO, 2013; MetaCPAN )
App-derived/lib/App/derived.pm ( view source; MetaCPAN )
05;
use File::Temp qw/tempfile/;
use File::Copy;
use Proclet;
use JSON ();
use Log::Minimal;

our $VERSION = '0.10';

my $_JSON = JSON->new()
    ->utf8(1)
    ->shrink(1)
    ->space_before(0)
    ->
 ($key, $cmd) = @_;
    my ($tmpfh,$tmpfile) = tempfile(UNLINK=>0, EXLOCK=>0);
    print $tmpfh $_JSON->encode({
        status=>"INIT",
        persec => '0E0',
        latest => '0E0',
    });
    c
  my ($writefile, $body) = @_;
    my ($tmpfh,$tmpfile) = tempfile(UNLINK=>0);
    print $tmpfh $_JSON->encode($body);
    close($tmpfh);
    move( $tmpfile, $writefile);
}


1;
__END__

=encoding utf
App-derived ( K/KA/KAZEBURO/App-derived-0.10.tar.gz, KAZEBURO, 2013; MetaCPAN )
App-derived/lib/App/derived/Plugin/Memcached.pm ( view source; MetaCPAN )
y);
                        if ( $mode eq 'full' ) {
                            my $val = $self->json->encode($ref);
                            $result .= join $DELIMITER, "VALUE", $key, 0, length($
cached->get('slowqueris:latest'); # only latest value.
  say $memcached->get('slowqueris:full'); #JSON formated data include raw values
  
=head1 SEE ALSO

<drived>, <App::derived::Plugin> for writing
App-derived ( K/KA/KAZEBURO/App-derived-0.10.tar.gz, KAZEBURO, 2013; MetaCPAN )
App-derived/lib/App/derived/Plugin/Dumper.pm ( view source; MetaCPAN )
ey ( @keys ) {
                my $ref = $self->service_stats($key);
                print $self->json->encode([$key,$ref]), "\n"; 
            }
        }
    );
}

1;

__END__

=encoding utf8

=head
App-derived ( K/KA/KAZEBURO/App-derived-0.10.tar.gz, KAZEBURO, 2013; MetaCPAN )
App-derived/lib/App/derived/Plugin.pm ( view source; MetaCPAN )
ervices _proclet/]
);
use JSON qw//;

my $_JSON = JSON->new()
    ->utf8(1)
    ->shrink(1)
    ->space_before(0)
    ->space_after(0)
    ->indent(0);

sub json {
    $_JSON;
}

sub exists_service {
   open my $fh, '<', $service->{file} or return;
    my $val = do { local $/; <$fh> };
    $self->json->decode($val);
}

sub service_keys {
    my $self = shift;
    keys %{$self->_services};
}

my %w
class to make App::derived Plugin.

=head1 METHODS

=over 4

=item new

=item json(): Object

Utility method. returns JSON.pm object

=item service_stats($key): HashRef

Retrieve service status

=item

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