App-SocialSKK
view release on metacpan or search on metacpan
inc/Spiffy.pm view on Meta::CPAN
my $stack_frame = 0;
my $dump = 'yaml';
my $bases_map = {};
sub WWW; sub XXX; sub YYY; sub ZZZ;
# This line is here to convince "autouse" into believing we are autousable.
sub can {
($_[1] eq 'import' and caller()->isa('autouse'))
? \&Exporter::import # pacify autouse's equality test
: $_[0]->SUPER::can($_[1]) # normal case
}
# TODO
#
# Exported functions like field and super should be hidden so as not to
# be confused with methods that can be inherited.
#
sub new {
my $class = shift;
lib/App/SocialSKK.pm view on Meta::CPAN
__PACKAGE__->mk_accessors(qw(
config
hostname address port
ua
protocol
plugins
));
sub new {
my $class = shift;
my $self = $class->SUPER::new(@_);
$self->init;
}
sub init {
my $self = shift;
$self->config = {} if !$self->config;
$self->plugins = [] if !$self->plugins;
my %ua_options = ref $self->config->{ua_options} eq 'HASH' ? %{$self->config->{ua_options}} : ();
$self->ua ||= LWP::UserAgent::POE->new(
( run in 0.455 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )