>>>>> "Bely," == Bely, Igor <[EMAIL PROTECTED]> writes:


Bely,> I declare a long sequence of SET commands, looking like:
Bely,> ======================================================================
Bely,> [% Gbexp.1 = ['F_carry_chain_start_0_length_1', 57, '"chain.pni"',
Bely,> '"F_carry_chain_start_0_length_1"',1] -%]
Bely,> [% Gbexp.2 = ['F_carry_chain_start_0_length_10', 57, '"chain.pni"',
Bely,> '"F_carry_chain_start_0_length_10"',1] -%]
Bely,> [% Gbexp.3 = ['F_carry_chain_start_0_length_100', 57, '"chain.pni"',
Bely,> '"F_carry_chain_start_0_length_100"',1] -%]

Bely,> ... and so forth...  -- we have ~17K lines

Ouch, don't do that.  Use Template::Plugin::YAML or
Template::Plugin::XML::Simple, and push your data that way.  You're
abusing Template!  I don't see view logic there... I see data model.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to