Re: FOREACH question

Mark Haney <markh-rOuQeLG7NUhWk0Htik3J/[email protected]> Thu, 23 Aug 2012 09:51:53 -0400
Newsgroups gmane.comp.lang.perl.modules.template-toolkit
Message-ID <[email protected]>
On 08/23/2012 08:56 AM, Richard Thomas wrote:
> For an array variable, the vmethod .size tells you the number of elements, eg
> [% light.size %]
>
> For a hash, try [% light.keys.size %]
>
> Hope that helps,
> RET
> ________________________
> Sent from my iPhone


That's precisely what I'm looking for.  And my apologies for double 
posting.  My first post never got to my inbox, so I thought it had been 
rejected.

-- 

Mark Haney
Software Developer/Consultant
AB Emblem
markh-rOuQeLG7NUhWk0Htik3J/[email protected]
Linux marius.homelinux.org 3.5.1-1.fc17.x86_64 GNU/Linux