Sorry to follow up on myself, but I think I have the answer...
I propose rather than Unicode::Collate::allkeys (hereafter U::C::...)
instead we encapsulate the versions at unicode.org.
So:
- U::C::Standard::v3_1_1
- U::C::Standard::v3_1_0
(note that I can not find this version of the file on unicode.com)
Then the user of U::C can simply specify the dependency as
U::C::Data::v3_1_1 (or whatever version they need) and then they can
specify the file using the table parameter to U::C->new().
e.g.:
U::C->new(table => "Standard/v3_1_1.txt");
Then if this were part of an installable bundle they can require a
dependency on U::C::Standard/v3_1_1.
I think this is cleaner, we don't have to worry about what they have
done to the default allkeys.txt.
Thoughts?
-ben