Enumerations

How enumerations work is pretty self-explanatory:

enum Colours => qw( Green Red Blue Yellow Orange Black Silver Grey White Purple Other ); has colour => ( isa => 'Colour' is => 'rw' );