Loading ...
Sorry, an error occurred while loading the content.

I need Help with Using Template Files.

Expand Messages
  • stephencopleyus
    Hi All, I have about 15 items in a flat file that I have set into an array and a template file that have the spots for each item marked off with the name in
    Message 1 of 2 , May 3, 2004
    • 0 Attachment
      Hi All,

      I have about 15 items in a flat file that I have set into an array
      and a template file that have the spots for each item marked off with
      the name in []. I've seen CGI programs that go in and replace the
      [example] with the an item from an array but I was wondering if
      anybody knew where there was a tutorial on this or could give me a
      sample code to work with.

      Thanks in advance.
      Steve
    • Charles K. Clarkson
      ... Have you looked at the Text::Template module? It can do this. The docs are fairly straight forward. HTH, Charles K. Clarkson -- Mobile Homes Specialist 254
      Message 2 of 2 , May 3, 2004
      • 0 Attachment
        stephencopleyus <stephencopleyus@...> wrote:
        :
        : I have about 15 items in a flat file that I have set into
        : an array and a template file that have the spots for each
        : item marked off with the name in []. I've seen CGI
        : programs that go in and replace the [example] with the an
        : item from an array but I was wondering if anybody knew
        : where there was a tutorial on this or could give me a
        : sample code to work with.

        Have you looked at the Text::Template module? It can do
        this. The docs are fairly straight forward.


        HTH,

        Charles K. Clarkson
        --
        Mobile Homes Specialist
        254 968-8328
      Your message has been successfully submitted and would be delivered to recipients shortly.