(Sorry Felipe for the double reply)
On Mon, Mar 15, 2010 at 11:41 AM, Felipe Gasper (cPanel)
<[email protected]>wrote:
> Hello,
>
> If I have the following template code:
>
> ----------
> SET test_hash = {
> 'keys' => 'foo',
> 'bar' => 'baz',
> };
>
> GET test_hash.keys();
> ----------
>
This isn't what you get?
$ tpage
[% h = { one => 1, two => 2 }; x = h.keys; USE Dumper; Dumper.dump( x ) %]
$VAR1 = [
'one',
'two'
];
--
Bill Moseley
[email protected]
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates