Subject: | Bug in MailClientYahoo |
Date: | Sun, 8 Jan 2017 19:17:38 +0000 (UTC) |
To: | "bug-MailClientYahoo [...] rt.cpan.org" <bug-MailClientYahoo [...] rt.cpan.org> |
From: | S Sachs <sachss200x [...] yahoo.com> |
Greetings,
I wish to report a bug within the Mail::Client::Yahoo package on cpan.org.
Show quoted text
>>> Begin Code#!/usr/bin/perl -w
use strict;
use diagnostics;
use Mail::Client::Yahoo;
my $y = Mail::Client::Yahoo->login(
username => "foo",
password => "bar"
);
my @folders = $y->folder_list();
$y->logout();
foreach my $folder ( @folders ) {
print "$folder\n";
}
exit 0;
Show quoted text>>> End Code
Show quoted text>>> Begin Output% getYahooMail.plUncaught exception from user code:
There is no form named "login_form" at C:/Perl64/site/lib/WWW/Mechanize.pm line 1938.
WWW::Mechanize::submit_form(Mail::Client::Yahoo::Mechanize=HASH(0x30c2d08), "form_name", "login_form", "fields", HASH(0x34b5e08)) called at C:/Perl64/site/lib/Mail/Client/Yahoo.pm line 150
Mail::Client::Yahoo::login("Mail::Client::Yahoo", "username", "foo", "password", "bar") called at J:\Macro\Perl\getYahooMail.pl line 6
Show quoted text>>> End Output
Package WWW::Mechanize is up to date, version 1.72. --
S Sachs
Software Engineer - Test Automation