Skip Menu |

This queue is for tickets about the Mail-Webmail-Gmail CPAN distribution.

Report information
The Basics
Id: 11451
Status: resolved
Priority: 0/
Queue: Mail-Webmail-Gmail

People
Owner: Nobody in particular
Requestors: nlidzborski [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.00
Fixed in: (no value)



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} ) ) {
From: mincus
Nicolas, Thank you for pointing this issue out to me, it has been resolved in the newest version of Mail::Webmail::Gmail available now on CPAN. Hope the module is useful to you! cheers --mincus [guest - Thu Feb 10 02:41:34 2005]: Show quoted text
> 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