Skip to content

tsucchi/p5-Otogiri-Plugin-InflateSwitcher

Repository files navigation

Build Status Coverage Status

NAME

Otogiri::Plugin::InflateSwitcher - Otogiri plugin to enable/disable inflate

SYNOPSIS

use Otogiri;
use Otogiri::Plugin::InflateSwitcher;
my $db = Otogiri->new($connect_info);
$db->disable_inflate;
my $row = $db->single(...); # inflate is disabled
$db->enable_inflate;
$row = $db->single(...); # inflate is enabled

# using guard
my $guard1 = $db->enable_inflate;
{
    my $guard2 = $db->disable_inflate;
    # inflate is disabled
} #dismiss $guard2
# inflate is enabled again

DESCRIPTION

Otogiri::Plugin::InflateSwitcher is plugin for Otogiri to enable or disable inflate feature

LICENSE

Copyright (C) Takuya Tsuchida.

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

AUTHOR

Takuya Tsuchida tsucchi@cpan.org

About

Otogiri plugin to enable/disable inflate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages