in reply to A Refactoring We Will Go
You'll probably find yourself building some kind of Parameter Object class(es).
I tend to build these with Params::Validate, although Ovid suggested a specific Sub::ParamObject module.
I'd start by building a single class for all the parameters then, if appropriate, refactor them into separate classes if the parameters show natural groupings (all the Foo related parameters in one class, all the Bar related parameters in another, etc.)
|
|---|