Skip Menu |

This queue is for tickets about the Geo-Coder-Cache CPAN distribution.

Report information
The Basics
Id: 84442
Status: resolved
Priority: 0/
Queue: Geo-Coder-Cache

People
Owner: Nobody in particular
Requestors: jozef.kutej [...] validad.net
Cc:
AdminCc:

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



Subject: too many ->new calls will cause crash
Date: Fri, 05 Apr 2013 12:20:41 +0200
To: bug-Geo-Coder-Cache [...] rt.cpan.org
From: Jozef Kutej <jozef.kutej [...] validad.net>
Dear Yen-Ming Lee, attached is test (03-crash.t) which will result in: …-google-v3-geo-coder-google-v3-geo-coder-google-v3: File name too long at …/perl5/lib/perl5/Cache/FileBackend.pm line 222 The reason is ".=" in new() constructor that is executed for each new function call. One possible solution can be found in attached namespace-loop-fix.patch. Best regards Jozef

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

On Fri Apr 05 06:20:59 2013, jozef.kutej@validad.net wrote: Show quoted text
> Dear Yen-Ming Lee, > > attached is test (03-crash.t) which will result in: > > …-google-v3-geo-coder-google-v3-geo-coder-google-v3: File name too long > at …/perl5/lib/perl5/Cache/FileBackend.pm line 222 > > The reason is ".=" in new() constructor that is executed for each new > function call. > > One possible solution can be found in attached namespace-loop-fix.patch. > > Best regards > Jozef >
Your patch only initializes namespace once with the geocoder in first call. I will fix that problem in different way. Thanks, Yen-Ming
Fixed in 0.06