Randal L. Schwartz wrote:
>>>>>> "Randy" == Randy J Ray <[email protected]> writes:
> 
> Randy> It seems clear that the value of sev was 5, and the value of
> Randy> data.by_sev.$sev was greater than 0.
> 
> If you're looking at sev, what is $sev?

data.by_sev is an array ref, so data.by_sev.$sev is subscripting it by the 
current value of $sev. Note that the very same expression appears in the next 
line, and in the output it returns the correct value. So I have reason to 
believe the expression itself is OK.

-- 
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray      Sunnyvale, CA      http://www.rjray.org   [email protected]

Silicon Valley Scale Modelers: http://www.svsm.org

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

Reply via email to