Log-Dispatchouli
view release on metacpan or search on metacpan
lib/Log/Dispatchouli/Proxy.pm view on Meta::CPAN
sub _new ($class, $arg) {
my $guts = {
parent => $arg->{parent},
logger => $arg->{logger},
debug => $arg->{debug},
proxy_prefix => $arg->{proxy_prefix},
proxy_ctx => $arg->{proxy_ctx},
};
bless $guts => $class;
}
sub proxy ($self, $arg = undef) {
$arg ||= {};
my @proxy_ctx;
if (my $ctx = $arg->{proxy_ctx}) {
@proxy_ctx = _ARRAY0($ctx)
? (@proxy_ctx, @$ctx)
( run in 1.134 second using v1.01-cache-2.11-cpan-2b1a40005be )