On Mon, Mar 29, 2010 at 2:26 PM, Felipe Gasper (cPanel)
<[email protected]>wrote:

> Bill Moseley wrote on 29 Mar 2010 4:24 PM...
>
>> This isn't what you get?
>>
>>  $ tpage
>> [% h = { one => 1, two => 2 }; x = h.keys; USE Dumper; Dumper.dump( x ) %]
>> $VAR1 = [
>> 'one',
>> 'two'
>>         ];
>>
>>

>
> For your own code, yes.
>
> For a hash that has a “keys” item defined, no.
>

Indeed, that's kind of a nasty trap.


Sorry for the noise.  So much for my quick lunch-time list catch-up.


-- 
Bill Moseley
[email protected]
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to