[Templates] key/value truncation?

[prev] [thread] [next] [Date index for 2004/12/06]

From: Dennis Daupert
Subject: [Templates] key/value truncation?
Date: 20:59 on 06 Dec 2004



Is there an upper limit on lengths of keys and values in a pre_processed
file
handled by ttree? (There seems to be.) Can that limit be lifted?

I need to be able to pass some path info in my pre_process file:

'--pre_process', "config/site",

site contains, among other things:

       LD_LIBRARY_PATH     =>
'/usr/lib:/export/apps/i25/usd_system/ingres/lib',

When I hand over to ttree, he thinks LD_LIBRARY_PATH is too long, so
truncates to

       LD_LIBRARY_PA

He also thinks the path string is too long, I forget where he breaks, but
one of the effects
is the trailing single quote and comma go missing, which then throws perl
off.

Let's not even mention the other PATH info I need to pass:

   PATH            =>
'/export/apps/i25/usd_system/ingres/bin:/export/apps/i25/usd_system/ingres/utility:/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/openwin/bin:/usr/X/bin:/usr/ucb:/opt/CAusd/bin:/usr/local/bin/perl-cgi:/etc:.',

/dennis

---------------------------------------------------------------------------
If at first you don't succeed, don't go skydiving.



_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] key/value truncation?
Dennis Daupert 20:59 on 06 Dec 2004

Re: [Templates] key/value truncation?
Andy Wardley 08:43 on 07 Dec 2004

Re: [Templates] key/value truncation?
Dennis Daupert 13:52 on 07 Dec 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52