in reply to webls

No strict, no warnings - even though you're "declaring" your variables with undef. my would have been shorter and better practice..

Also, rather than hardcoding the HTML generation into the code all over the place I'd rather create a list of hashes with info on each file, then churn that through a template for one of the many existing modules for the job - much cleaner and tons more flexible. A small layout change won't require someone to go digging deep inside the script's logic to find where that piece of output gets generated.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re: webls
by jpj (Novice) on Sep 28, 2002 at 19:45 UTC

    Completely agreed... I tried to keep the HTML generation as compact as possible, but found that without the occasional <tr> tag, it wouldn't display correctly on IE. Ideally, I'd like to have the tables built from hashes, with column headers built from the keys, permitting more dynamic table generation, plus the ability to sort the output based on user prefs.

    Very much a work in progress... -JPJ