I am writing a library with a command line utility (this if for generating FormHandler forms) - it takes as a parameter a DBIx::Class::Schema. Obviously for the for the command line utility I cannot pass the schema object itself - but instead I pass the connection params and the schema class name and build that schema on the fly. I would like to make those additional params 'required' for the command line utility - but not for the library API version. This sounds like a common thing - what would be the common solution here? Can I just change the 'required' field option in a Subclass?
-- Zbigniew Lukasiak http://brudnopis.blogspot.com/ http://perlalchemy.blogspot.com/