in reply to RE: Something I wanted to share with the group.
in thread Something I wanted to share with the group.

Anyone who relies on code generation (look at any HTML editor) is clearly not capable of evaluating the code it generates.

Then again, many of the functions in the CGI module generate HTML for us, and many other modules in Perl provide a cleaner user interface to some other language/system by generating the code for whatever the application is. So there is a place for it...

On the other hand, I don't think I'd really be to psyched about seeing a product that automated Perl generation...

  • Comment on RE: RE: Something I wanted to share with the group.

Replies are listed 'Best First'.
RE: RE: RE: Something I wanted to share with the group.
by providencia (Pilgrim) on Aug 23, 2000 at 19:24 UTC
    One thing to remember about the CGI module although it can generate code,
    it was written by PERL programmers, for PERL programmers.
    I started out using HTML generators and they NEVER looked right.
    Simply because there are too many ways to write a page to look the same.
    The same is true of PERL it is too smart for one programmer or company.
    Anything that generates code strips the language of it's beauty.
    The craft should be left to the craftsperson.
RE: RE: RE: Something I wanted to share with the group.
by turnstep (Parson) on Aug 17, 2000 at 20:51 UTC

    Many of the functions in CGI generate HTML, but I suspect that most people (like myself) tend to use CGI to grab and manipulate the form input, but not to write the html. (Of course, that doesn't include things like CGI::FastTemplate, but functions lik &h1())