Subject: | Warnings in Gmail.pm: uninitialized value for _proxy_enable |
My first run of Mail::Webmail::Gmail (v1.00) brought the following errors:
Use of uninitialized value in numeric ge (>=) at /usr/lib/perl5/site_perl/5.8.5/Mail/Webmail/Gmail.pm line 83.
Use of uninitialized value in numeric ge (>=) at /usr/lib/perl5/site_perl/5.8.5/Mail/Webmail/Gmail.pm line 258.
I looked into /usr/lib/perl5/site_perl/5.8.5/Mail/Webmail/Gmail.pm and found that _proxy_enable is used but never initialized before.
I attach a simple patch that resolve the issue.
Nicolas Lidzborski
--- Gmail.pm 2005-02-09 23:16:18.354993376 -0800
+++ /usr/lib/perl5/site_perl/5.8.5/Mail/Webmail/Gmail.pm 2005-02-09 23:05:10.501522536 -0800
@@ -49,6 +49,7 @@
_ua => $ua,
_debug_level => 0,
_error => 0,
+ _proxy_enable => 0,
}, $class;
if ( defined( $args{proxy_name} ) ) {