Skip Menu |

This queue is for tickets about the I18N-AcceptLanguage CPAN distribution.

Report information
The Basics
Id: 74338
Status: open
Priority: 0/
Queue: I18N-AcceptLanguage

People
Owner: Nobody in particular
Requestors: NHORNE [...] cpan.org
Cc:
AdminCc:

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



Subject: uninitialized value $secondaryMatch
I just saw this message in my Apache error.log. What caused it and what can I do to ensure it doesn't happen again? Use of uninitialized value $secondaryMatch in string eq at /home/nigelhorne/perlmods/share/perl/5.10.0/I18N/AcceptLanguage.pm line 381., referer: http://www.google.co.uk/search?hl=en&redir_esc=&client=ms-android-sonyericsson&source=android-browser-type&v=133247963&qsubts=1327421848736&action=devloc&q=brass+bands+in+london&v=133247963
This small program reproduces the error: #!/usr/bin/perl -w use strict; use warnings; use I18N::AcceptLanguage; my $s = [( 'en-gb', 'de' )]; my $a = I18N::AcceptLanguage->new(); my $l = $a->accepts('en-US,de-CH;q=0.5', $s);