|
NAMEWWW::Contact::Base - Base module for WWW::Contact::* SYNOPSIS use WWW::Contact::MyMail;
use Moose;
extends 'WWW::Contact::Base';
sub get_contacts {
my ($self, $email, $password) = @_;
# reset
$self->errstr(undef);
my @contacts;
my $ua = $self->ua;
$self->debug("start get_contacts from MyMail");
# get contacts
return wantarray ? @contacts : \@contacts;
}
DESCRIPTIONThis module is mainly for you to write your own WWW::Contact::* (and used in my WWW::Contact::) METHODS
SEE ALSOWWW::Contact, WWW::Mechanize, Moose AUTHORFayland Lam, "<fayland at gmail.com>" COPYRIGHT & LICENSECopyright 2008 Fayland Lam, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|