Finance-PaycheckRecords-Fetcher
view release on metacpan or search on metacpan
lib/Finance/PaycheckRecords/Fetcher.pm view on Meta::CPAN
my ($class, $user, $password) = @_;
bless {
username => $user,
password => $password,
mech => WWW::Mechanize->new,
}, $class;
} # end new
#---------------------------------------------------------------------
# Get a URL, automatically supplying login credentials if needed:
sub _get
{
my ($self, $url) = @_;
my $mech = $self->{mech};
$mech->get($url);
if ($mech->form_name('Login_Form')) {
( run in 0.228 second using v1.01-cache-2.11-cpan-4d50c553e7e )