On 3/21/02 5:36 AM, Tor Hildrum <[EMAIL PROTECTED]> wrote:

>I want to make
> my own Perl/CGI webpage. But, I don't really see any options in CGI.pm to
> give the site the kind of design I want. Is there some place I could look
> for information about the design options CGI.pm provides? I tried using
> perldoc, but couldn't find any relevant information there.

What do you mean? CGI.pm seems to have a function for generating just about
every HTML that ever did, does, or will exist. Maybe I'm misunderstanding
what you mean by "Perl/CGI webpage"...

> I have heard writing HTML-code in *.cgi-scripts is considered a no-no, is
> there any validity to this?

No, it's not. Some people think it's prettier to use CGI.pm, others (like
me) prefer total control of their HTML output and just use here-docs.

In my opinion (I'm not claiming it to be right, it's just my personal
opinion), CGI.pm is good for parsing input and generating complex forms
based on prior user input, but not much else. It's more effort than it's
worth to use CGI.pm for everything.

hth,
-- 
Michael


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to