Re: [Templates] Template Toolkit verion 2.10
On Thu, 2003-07-24 at 12:24, Andy Wardley wrote: Version 2.10 of the Template Toolkit is now available. [snip] I'm getting a failure in test 25 of t/date.t, because Solaris' strftime does not define the %s format (it isn't in the ANSI C standard). Not a bug in TT2 itself, just a bug in the tests. Also, what are the chances of getting the docs at http://www.template-toolkit.org/docs/ updated to 2.10? - Alex P.S. The MIT homepage now uses TT2 to regenerate 300+ pages of static HTML per day. Whee! -- Networking -- only one letter away from not working ___ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
[Templates] Re: Apache::Template perl directory configuration
Message: 4 Date: Tue, 29 Jul 2003 18:09:07 -0500 From: Christopher L. Everett [EMAIL PROTECTED] To: Template Toolkit List [EMAIL PROTECTED] Subject: Re: [Templates] Apache::Template perl directory configuration That just happens to be my perferred mode of doing thngs. The problem with custom one off handlers for me is: I came up with a solution somewhere between the eToys article you wrote and your most recent post in this thread. I attached it to this message just for grins and giggles. --070106080506030507080900 Content-Type: application/x-perl; name=TT.pm Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename=TT.pm package My::TT; use strict; use Apache::Request; use Apache::Constants qw/:common/; use Template; use Digest::MD5 qw/md5_base64/; sub new { my $proto = shift; my $class = ref $proto || $proto; my $self = [EMAIL PROTECTED]; bless $self = $class; return $self; } [clip] I'm pretty sure most people on this list understand english, please don't confuse me with the Klingon that somebody else spoke... My head hurts. Ow. Tosh PS. This would be funny if you weren't so right, instead I'm lame ;) -- Tosh Cooey Twelve Hundred Group http://www.1200group.com/ ___ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates