Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

RE: RE: I use CGI.pm for

by nutate (Novice)
on Jun 08, 2000 at 19:27 UTC ( #17098=note: print w/ replies, xml ) Need Help??


in reply to RE: I use CGI.pm for
in thread I use CGI.pm for

XHTML, is nice... but the <br /> (br with a space then the empty element delineating slash) thing seems like a bit of a hack which is neither XML nor HTML... then again, I have only fooled with XML and never really made a full app with it. And who know which if any browsers would barf at such a syntax. Mad love to the everything engine, though.

On the topic of the poll, I must be honest and say I've used CGI.pm to generate entire pages, just do forms, and parse form variables from forms I wrote by hand. The other day in irc, chromatic gave me the tip of HTML::Template which really helps things out when trying to separate formatting (HTML) from code. I highly recommend it. It shortened my latest job by at least 100 lines.


Comment on RE: RE: I use CGI.pm for
RE: RE: RE: I use CGI.pm for
by buzzcutbuddha (Chaplain) on Jun 08, 2000 at 19:35 UTC
    Actually, since I have started learning XHTML, I have used the <br /> as in my post here, and I have
    yet to see a browser complain or improperly render the layout. And as far as I remember, XML does use the
    space and closing slash on empty elements. I don't know how far XHTML will be accepted in it's current
    incarnation, but we'll see. I guess the biggest reason I don't use cgi.pm for the actual layout is because
    you can't specify with DTD you want to use. I guess that's possible with HTML::Template? I need to read more
    on that.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2015-07-03 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (48 votes), past polls