Group
Extension

Matches 2

Salvation-MongoMgr ( G/GF/GFILATOV/Salvation-MongoMgr-0.06.tar.gz, GFILATOV, 2016; MetaCPAN )
Salvation-MongoMgr/bin/mongomgr.pl ( view source; MetaCPAN )
quire Carp;

    $SIG{ __DIE__ } = \&Carp::confess;
    $SIG{ __WARN__ } = \&Carp::cluck;
};

use JSON ();
use Getopt::Long 'GetOptions';
use Salvation::TC ();
use Salvation::MongoMgr ();

use Salvati
s );
        my $json = JSON -> new() -> utf8( 1 ) -> allow_blessed( 1 );

        if( $opts -> { 'pretty' } ) {

            $json = $json -> pretty();
        }

        print( $json -> encode( $rv 
Salvation-MongoMgr ( G/GF/GFILATOV/Salvation-MongoMgr-0.06.tar.gz, GFILATOV, 2016; MetaCPAN )
Salvation-MongoMgr/lib/Salvation/MongoMgr/Connection.pm ( view source; MetaCPAN )
ion;

use utf8;
use strict;
use warnings;
use boolean;
use feature 'state';

use URI ();
use JSON 'from_json';
use File::Slurp 'read_file';
use Salvation::TC ();
use MongoDB ();


sub new {

    my ( 

    if( defined( my $auth_config_file = $self -> auth_config_file() ) ) {

        my $rv = from_json( scalar( read_file( $auth_config_file ) ) );

        Salvation::TC -> assert( $rv, sprintf( 'Has
-> { 'servers_list' } = [ $self -> { 'host' } ];

        } else {

            my $config = from_json( scalar( read_file( $self -> config_file() ) ) );

            Salvation::TC -> assert( $config, 

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