nysus has asked for the wisdom of the Perl Monks concerning the following question:
Using CGI.pm to generate HTML seems a little cumbersome and inflexible so I'm contemplating using my HTML editor (DreamWeaver) to generate the forms and then cutting and pasting the code into a Perl 'here' document for use in my .cgi script. I'd like to know if there are any drawbacks to doing this.
My concern is that I read a post a a week or two back which basically said 'here' documents were considered bad programming form. The poster didn't provide a reason. Is there something I should know? TIA.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar";
$nysus = $PM . $MCF;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Best way to generate HTML forms
by AidanLee (Chaplain) on May 24, 2001 at 18:26 UTC | |
|
Re: Best way to generate HTML forms
by Sherlock (Deacon) on May 24, 2001 at 18:31 UTC | |
|
Re: Best way to generate HTML forms
by blue_cowdawg (Monsignor) on May 24, 2001 at 20:45 UTC |