Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Trouble with TMPL_LOOP assignment

by spork (Monk)
on Oct 22, 2002 at 13:56 UTC ( [id://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?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://207076]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-06-21 18:27 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.