Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add ability to dictate options for Template->new call #4
I would like to be able to add options to the Template->new call from the config file, though not necessarily from the command line.
I'm not familiar with Moose or MooseX::SimpleConfig but it looks like I could add a simple "has 'trim' => (is=>'ro',isa=>'Int',required=>0);" and a check in the _build_tt sub.
However, this would require adding support for all the possible options. I'd rather be able to allow for something like
in the configuration file and having a routine in the build_tt that would look for 'tt_option' in config values.
I would be glad to do the work on this, I just don't know how to go about doing it.