Person::Resumefied could just use another hash field for it's job attribut. I think this is a more direct version of what
perrin and
Abigail-II meant. Of course by encapsulation you are not supposed to know what fields are already taken by the
Person class. So the real problem stems from the fact that Perl objects don't have private attributes.