On Mon, 29 Jul 2002, darren chamberlain wrote:
> * Leon Brocard <[EMAIL PROTECTED]> [2002-07-29 10:11]:
> > I strongly believe that modules shouldn't install extra docs or things
> > in a weird part of the filesystem by default. Attached is a patch to
> > make the "Optional Extras" default to 'n'. What do you reckon?
>
> I've installed TT about 3 million times over the last few weeks and I
> heartily agree with you that it should not install extra docs unless
> asked to specifically.
Two points:
1) this changes existing behaviour. How about TT_ACCEPT_CORE?
2) Some of us actually use that facility. It's not just a matter of
installing the documentation to a place on the hard drive...I also
use wherever the docs have been installed as a place to install other
templates to. I.e. when I write a module that needs to create
output with TT I need to stuff those templates somewhere, and I use
a directory in the module tree.
I could probably do with showing you the module that in turn does that
shouldn't I? It's based on ExtUtils::MakeMaker...
Bundle here:
http://2shortplanks.com/temp/tmi/Template-ModuleInstaller-0.01.tar.gz
I haven't looked at the code in months - IIRC I got it to just about
working state and then rushed off on another project.
Mark.
--
s'' Mark Fowler London.pm Bath.pm
http://www.twoshortplanks.com/ [EMAIL PROTECTED]
';use Term'Cap;$t=Tgetent Term'Cap{};print$t->Tputs(cl);for$w(split/ +/
){for(0..30){$|=print$t->Tgoto(cm,$_,$y)." $w";select$k,$k,$k,.03}$y+=2}
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://www.template-toolkit.org/mailman/listinfo/templates