in reply to Re^3: converting to a sub-class
in thread converting to a sub-class

Ahh yes, the Factory pattern, I'd heard of that, isn't there 2 main ways of doing this sort of thing? Factory being one, what's the other?

So that use of ->require, etc. looks fine then?

I'll use __PACKAGE__ in future of course.

if Person::Male shouldn't be a class, how else would it be done?