Re: [Templates] DBI attribute problem
[prev]
[thread]
[next]
[Date index for 2004/06/14]
On Mon, 2004-06-14 at 16:01, Jason Gottshall wrote:
> The perl syntax is:
>
> $dbh->{LongReadLen} = 10000;
>
> which I write in TT as:
>
> [% dbh.LongReadLen = 10000 %]
>
> which doesn't work.
This might work:
[% dbh.STORE('LongReadLen', 10000) %]
Or you could just use a [% PERL %] section if you have that on. I think
it would be better to do it before the template though. There isn't
usually a reason to have lots of different values for this setting, and
this is exactly the kind of thing that doesn't belong in templates.
- Perrin
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
 |
Re: [Templates] DBI attribute problem
Perrin Harkins 20:19 on 14 Jun 2004
|