On Thu, 11 Nov 2004, Jason Gottshall wrote:

> By backslashing %User, you've created a funky hash that has variable
> references as keys, and might look something like this:

Sound like me!  :-)

> If you want to include all key/value pairs of %User as "global" vars in
> your TT doc, try this:
> 
> $ltr->process( 'report.tt',
>                { %User, mlist => [EMAIL PROTECTED] } ,
>                \$msgbody );

I was thinking this was what I needed to do but got a full brain and asked 
instead of testing.  From your description I now see (and pretty much 
understand) the errors of my ways.

Thanks Jason.


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