This is by far the most elegant solution. I, too, have written a gallery that uses H::T, and it used a config setting that specified how many images per row. But that was because I always used tables for layout, and I was never happy with the solution. Now I simply use divs which float to take up the available display space - and gone is the pain of setting up the H::T dimensions as array references of hash references
In reply to Re^2: How to Seperate Presentation from Implementation with HTML::Template
by astroboy
in thread How to Seperate Presentation from Implementation with HTML::Template
by Koosemose
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |