You can create methods and whole classes at runtime using Class::MOP
In reply to Re: Moose and AUTOLOAD by zwon in thread Moose and AUTOLOAD by rootcho