Subject: | Option to get unique items |
Acme::MetaSyntactic is intended to provide metasyntactic names for use in sample code.
Sample code, like most any code, will want to use individual names for distinct entities.
Thus it should be possible to ask for a specified number of truly distinct names, and to get either that or the information that the theme does not have enough items.
Current behaviour is that meta() silently returns duplicate items once the theme is exhausted.
Thus changing themes might inadvertently introduce name conflicts.
I'd suggest a new method umeta() or unique_meta() to either return unique items or raise an exception.
The metafy utility should make use of that, and complain if the target theme is insufficiently equipped for the given input.
-Martin