Skip Menu |

This queue is for tickets about the CEDict-Pinyin CPAN distribution.

Report information
The Basics
Id: 64831
Status: new
Priority: 0/
Queue: CEDict-Pinyin

People
Owner: Nobody in particular
Requestors: bitcard [...] iijo.org
Cc:
AdminCc:

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



Subject: diacritic mark is placed on the first vowel instead of the last vowel
In the method diacritic(), the following line: } elsif (reverse $part =~ /([aeiou])/) { should become: } elsif (reverse($part) =~ /([aeiou])/) { due to order of operations issues. This bug causes the tone mark to be placed on the first vowel instead of the last vowel which is the opposite of what you meant to do. I forked your gitpan dist and made the fix available on github. Not sure if thats overkill since its such a small fix, but here you go: https://github.com/kablamo/CEDict-Pinyin