From: Ben F. <fag...@gm...> - 2008-09-30 14:50:33
|
Hi John, Thanks for testing this for me. I've sent the patch out to the list. You might still want to patch your bin/cmap_validate_config.pl script so you don't get a warning when testing your config files. http://sourceforge.net/tracker/index.php?func=detail&aid=2138364&group_id=27707&atid=391293 Ben On Tue, 2008-09-23 at 10:04 +1200, John McCallum wrote: > Thanks a lot Ben! > I suspected this might be the case. > > Do you mean that it is already possible to do this (ie set TT flags in > cmap.conf or other ) or we need to edit the configuration modules to do > this? > (and pass back coee to the project,...) > > Regards > John > > > > >>> Ben Faga <fag...@gm...> 1:25 a.m. 23-Sep-08-08 >>> > Hi John, > > This is untested but I think you set the EVAL_PERL flag when creating > the template toolkit object. > > In CMap's case this is located in the module Bio/GMOD/CMap.pm, line > 1555 > (in the "template" subroutine). > > Although, hacking the code isn't really the best solution (since you > are > essentially creating a local fork which you will have to port all your > changes). It should be possible to add TT configuration flags to the > CMap config file. > > Thoughts? > > Ben > > On Mon, 2008-09-22 at 11:36 +1200, John McCallum wrote: > > I have been delving into the template toolkit to enable some > > customization of our cmap installation and finding it very > > straightforward EXCEPT the following.. > > > > We want to enable some custom inclusion and the simplest is to > enable > > some PERL....However I can't for the life of me work out how or where > to > > enable the 'EVAL_PERL' flag. > > > > Could anyone point me to how this is done? > > > > Regards > > John > > > > > > Visit our website at http://www.crop.cri.nz > > ______________________________________________________ > > CAUTION: The information contained in this email is privileged > > and confidential. If you read this message and you are not the > > intended recipient, you are hereby notified that any use, > > dissemination, distribution or reproduction of all or part of the > > contents is prohibited. If you receive this message in error, > > please notify the sender immediately. > > > > Any opinions or views expressed in this message are those of the > > individual sender and may not represent those of their employer. > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win > great prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > gmod-cmap mailing list > > gmo...@li... > > https://lists.sourceforge.net/lists/listinfo/gmod-cmap > > > > Visit our website at http://www.crop.cri.nz > ______________________________________________________ > CAUTION: The information contained in this email is privileged > and confidential. If you read this message and you are not the > intended recipient, you are hereby notified that any use, > dissemination, distribution or reproduction of all or part of the > contents is prohibited. If you receive this message in error, > please notify the sender immediately. > > Any opinions or views expressed in this message are those of the > individual sender and may not represent those of their employer. > |