Group
Extension

Matches 2

ObjectDB-InflateColumn ( C/CC/CCCP/ObjectDB-InflateColumn-0.01.tar.gz, CCCP, 2011; MetaCPAN )
ObjectDB-InflateColumn/README.pod ( view source; MetaCPAN )
   );
    
    use JSON;
    my $json = JSON->new;
    
    # describe infalte
    __PACKAGE__->schema->inflate_column(
        'data', 
        {
            inflate => sub { $json->allow_nonref->enc
ode($_[0]) },
            deflate => sub { $json->utf8(1)->decode($_[0]) },
        }
    );
    
    # =============================================================
    
    # in main code
    packag
ObjectDB-InflateColumn ( C/CC/CCCP/ObjectDB-InflateColumn-0.01.tar.gz, CCCP, 2011; MetaCPAN )
ObjectDB-InflateColumn/lib/ObjectDB/InflateColumn.pm ( view source; MetaCPAN )
   );
    
    use JSON;
    my $json = JSON->new;
    
    # describe infalte
    __PACKAGE__->schema->inflate_column(
        'data', 
        {
            inflate => sub { $json->allow_nonref->enc
ode($_[0]) },
            deflate => sub { $json->utf8(1)->decode($_[0]) },
        }
    );
    
    # =============================================================
    
    # in main code
    packag

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