Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://207076]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2023-03-31 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (76 votes). Check out past polls.

    Notices?