in reply to Dynamically create Packages

I just stumbled today on Ricardo Signes's Package::Generator. Does this do anything like what you want?