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.