[Templates] Integer division/multidimensional arrays and some
other thoughts
Perrin Harkins
pharkins@etoys.com
Wed, 2 Aug 2000 15:37:18 -0700 (PDT)
On Wed, 2 Aug 2000, Andrew Williams wrote:
> is there any way to do integer division?
>
> i.e.
> int(5/2) = 2
man integer
> How do I deal with multi dimensional arrays? I can
> get hashes of hashes working fine but I can't figure
> out how to deal with multi dimensional arrays.
You'll have to ask something more specific. Multi-dimensional arrays are
supported. Post the thing you tried that didn't work.
> Is there a method to take a list of arbitrary lenght and
> have it display in an arbitrary number of columns?
perldoc Template::Plugin::Table
> It would also be usefull (at least for the stuff I'm
> working on) to have hierarchical template structures.
That's how it works. perldoc Template and read about INCLUDE_PATH.
- Perrin