Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: webls

by Aristotle (Chancellor)
on Sep 28, 2002 at 18:30 UTC ( [id://201477]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://201477]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-25 21:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found