Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

(tye)Re2: rBuild hack

by tye (Sage)
on Feb 27, 2001 at 03:29 UTC ( #60977=note: print w/replies, xml ) Need Help??


in reply to (ichimunki) re: (tye) in: rBuild hack
in thread rBuild hack

It has advantages and disadvantages. It catches some typos and forces closing of tags. It makes some things easier w/ less typing. It can also make things harder w/ more typing.

But for most people, most HTML is not CGI-generated so learning a separate way to write HTML could easily not be worth it.

My point was to distinguish using CGI.pm to generate HTML from using CGI.pm to process CGI parameters. The former is, to a great extent, a matter of personal taste or how your project fits in elsewhere, etc. Processing CGI parameters without using CGI.pm is almost always a mistake, and is usually a pretty big mistake.

I say feel free to generate your HTML with CGI.pm, a templating system, or by hand. But you won't get any sympathy from me if you parse CGI parameters with anything other than CGI.pm (until a worthy replacement comes along).

In the node I was responding to, the author was justifying not using CGI.pm by talking about generating HTML. To me that means he missed the point.

        - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://60977]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2018-05-24 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?