From: Ben F. <fag...@gm...> - 2008-09-30 14:49:09
|
Hi everyone, I've released a patch which adds some obscure functionality to the configuration. You will only need this patch if you want to add flags during the creation of the Template Toolkit object. John McCallum needed it to enable 'EVAL_PERL' for the templates that he was creating. Ben The patch is at: http://sourceforge.net/tracker/index.php?func=detail&aid=2138364&group_id=27707&atid=391293 README: NOTE: This patch adds obscure functionality to CMap. It is not needed for normal use of CMap. This patch adds a configuration option that can set flags during the creation of the Template Toolkit object. This allows for more powerful use of Template Toolkit. The flags are passed into the Template->new() method. The following is an example of how to use this new configuration option. It will only take strings as values (no complicated objects). <template_toolkit_flags> EVAL_PERL 1 SOMETHING else </template_toolkit_flags> These patches will work for CMap version 1.01. Apply these patches to the CMap.pm perl module and the cmap_validate_config.pl script. $ patch /path/to/Bio/GMOD/CMap.pm CMap.080924.v1.01.patch $ patch /path/to/bin/cmap_validate_config.pl cmap_validate_config.080924.v1.01.patch |