Class::Enumemon - enum-like class generator - metacpan.org
enum-like class generator