On Tue, 13 Apr 2004, Harald Joerg wrote:

> Most likely you want to replace this with
> 
>         $tt->process('filename.tt', $MyVars);

Yeah that was a typo under presure.  I did have it correct in the script.  
Further coding -- under Windows -- seems to indicate at $tt->error() 
doesn't show up when used with die.  I'm guessing some strange STDERR 
issue as when I use the debugger and just do a print $tt->error() I get 
the message.  And I mention this as it looks like my problem was the old 
odd count in the hash error.
   Is there a more perlish way to check and add to a hash if it has an odd
count than this I knocked together yesterday (from a poor memory 
today)?

        $HASH{filler} = 'filler' if ((scalar(keys(%HASH)) % 2) == 1);


Rod
-- 
    "Open Source Software - You usually get more than you pay for..."
     "Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"



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

Reply via email to