Skip Menu |

This queue is for tickets about the Lingua-EN-NameParse CPAN distribution.

Report information
The Basics
Id: 29368
Status: resolved
Priority: 0/
Queue: Lingua-EN-NameParse

People
Owner: Nobody in particular
Requestors: benjamin [...] opusvl.com
Cc:
AdminCc:

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



Subject: Lingua::EN::NameParse - Bug I think???
Date: Fri, 14 Sep 2007 13:55:59 +0100
To: bug-Lingua-EN-NameParse [...] rt.cpan.org
From: "Ben Martin [...] OpusVL" <benjamin [...] opusvl.com>
Hello, I was using this lovely module and had a problem. In the routine case_surname the line elsif ( /\bMc/i ) should be elsif ( $surname =~ /\bMc/i ) Free free to correct me if I am wrong. Many thanks for the module, -Ben OpusVL
Fixed in version 1.24, code updated to: elsif ( $surname =~ /\bMc/i ) { $surname =~ s/\b(Mc)([a-z]+)/$1\u$2/ig; }