Mojo-Weixin
view release on metacpan or search on metacpan
lib/Mojo/Weixin/Run.pm view on Meta::CPAN
return $_obj if defined $_obj;
my $class = shift;
return $_obj = __PACKAGE__->_constructor(@_);
}
sub _constructor {
my $proto = shift;
my $class = ref($proto) || $proto;
my $self = $class->SUPER::new(@_);
bless $self => $class;
# install SIGCHLD handler
$SIG{'CHLD'} = sub { _sig_chld($self, @_) };
return $self;
}
sub log_level {
my ($self, $level) = @_;
( run in 0.407 second using v1.01-cache-2.11-cpan-3b35f9de6a3 )