Skip to content

Add ability to dictate options for Template->new call #4

harleypig opened this Issue Jul 23, 2013 · 0 comments

1 participant


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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.