Hey All, I figured this would be easy, but doesn't appear to work.
I am calling some BLOCK -- this block is passed a $key and with that I return some needed items. Because I need a "couple of items" I try to hash it up... Something like: BLOCK returnSomeNeededVars; #do some figuring { var1 = 'some value 1', var2 = 'some value 2', } END; hashHolder = PROCESS returnSomeNeededVars item = someItemToBePassed; I figured hashHolder would now contain: { var1 = 'some value 1', var2 = 'some value 2', } And I could do: hashHolder.var1 and get a value - nope. A Dumper on it just returns "hash()" Any ideas?
_______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates