Subject: | Problem with LastError ($@) |
Date: | Tue, 25 Jan 2005 09:17:36 -0800 |
From: | "Helterline, Brian L (HP-Corvallis)" <brian.helterline [...] hp.com> |
To: | <bug-Mail-IMAPClient [...] rt.cpan.org> |
Hello,
I am using Mail::IMAPClient 2.2.9 with ActiveState perl 5.8.3 on Windows 2000.
Apparently, Windows does not implement fast_io and every operation results in
$@ = "Your vendor has not defined Fcntl macro F_GETFL, used at D:/Perl/site/lib/Mail/I
MAPClient.pm line 69."
According to the docs, a search will clear $@ (and it does), but the ensuing function
calls sets it back to the above message so I can not distinguish between a failed
search and a successful search that yielded 0 results.
I can work around this by explicitly turning off fast_io. I am reporting this
because your documents mention the possibility of removing this feature. If you
do remove the fast_io option, I would suggest improving the _do_accessor() call
such that if fast_io fails (and is benign) that $@ not be set.
If not a bug, than consider it a feature enhancement request.
Thanks.
Brian Helterline
Hewlett-Packard
(541) 715-3724 (voice)
(541) 715-1050 (fax)
1033A/10UN4
Corvallis, Oregon USA
Note: Due to the Hydra Migration, you may be unable to view my schedule in Outlook. To see my schedule you may use the Free/Busy tool at (http://fbweb.hp.com/freebusy/FBRedirection.htm).