No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
author
lib/Teng/Plugin
t
xt
.gitignore
.shipit
.travis.yml
Build.PL
Changes
LICENSE
MANIFEST
MANIFEST.SKIP
README.pod

README.pod

NAME

Teng::Plugin::CommonInflator - Perl extention to do something

VERSION

This document describes Teng::Plugin::CommonInflator version 0.01.

SYNOPSIS

package My::DB;
use parent qw/Teng/;
__PACKAGE__->load_plugin('CommonInflator');

package main;
my $teng = My::DB->new;

$teng->add_common_inflator(
    qr/_at$/ => sub {
        my $col_value = shift;
        ...
        $col_value;
    },
    exclude => [qw/user/], # exclude tables
);

$teng->add_common_deflator(qr/_at$/ => sub {
    my $col_value = shift;
    ...
    $col_value;
});

DESCRIPTION

# TODO

INTERFACE

Functions

hello()

# TODO

DEPENDENCIES

Perl 5.8.1 or later.

BUGS

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

SEE ALSO

perl

AUTHOR

Masayuki Matsuki <y.songmu@gmail.com>

LICENSE AND COPYRIGHT

Copyright (c) 2013, Masayuki Matsuki. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.