Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Trouble with TMPL_LOOP assignment

by spork (Monk)
on Oct 22, 2002 at 13:56 UTC ( #207076=note: print w/replies, xml ) Need Help??


in reply to Trouble with TMPL_LOOP assignment

Thank you for the suggestions. It still does not work, but I am going to rewrite pieces of the code to make this functionality more generic since it will be used in other places in my script.

I plan to call GetListFromDB with an additional parameter. Specifically I am going to pass the name of a function that will (based on the SQL statement) build a specific hash table and then I will leave it up to the GetListFromDB to build the array of hash refs for HTML::Template. Perhaps in the rewrite I will fix whatever I broke (I can dream).

A few questions were asked about the original posting that I would like to answer. There was no message in the error_log file indicating a problem. However the array I am trying to create to pass to HTML::Template was part of the header (VERY odd). Perhaps I can unstep on the toes I have stepped on in the rewrite.

Thanks again for your responses. Now on with my coding.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://207076]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2018-02-25 02:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (312 votes). Check out past polls.

    Notices?