Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Call me an HTML purist. For the past few years, I've always done all my HTML with print and my forms with home-rolled code. I'm looking to switch to CGI.pm. Is there a FAQ or code snippets that demonstrate things somewhere? (Like PCBish style)

Thanks.

Replies are listed 'Best First'.
Re: CGI.pm Informational Resource?
by footpad (Abbot) on Feb 11, 2001 at 01:30 UTC
Re: CGI.pm Informational Resource?
by extremely (Priest) on Feb 11, 2001 at 01:15 UTC
    Actually, I'd recommend that you dig around on here a little bit or check out merlyn aka Randal's WebTechniques columns. They are full of juicy CGI goodness.

    --
    $you = new YOU;
    honk() if $you->love(perl)

Re: CGI.pm Informational Resource?
by thaigrrl (Monk) on Feb 11, 2001 at 20:02 UTC
    Actually if you are such an HTML purist, like myself, you might find it useful to take a look at HTML::Template . I love using templates, it cleans up the Perl code tremendously and makes edits to the HTML so much easier.
Re: CGI.pm Informational Resource?
by sierrathedog04 (Hermit) on Feb 11, 2001 at 01:37 UTC
    Learning Perl (a.k.a. the Llama book), by our own Randal L. Schwartz and Tom Christiansen, has an entire chapter on CGI.pm which I find extremely helpful. It nicely supplements the example-laden documentation which comes with CGI.pm.

    The Llama book and Lincoln Stein's own copious documentation really ought to be all one would need to get started.