Re: If Perl support inline scripting...



Andrew DeFaria <Andrew@xxxxxxxxxxx> wrote:

Charlton Wilbur wrote:

Mixing logic and presentation code in the way that PHP and ePerl
encourage is, frankly, stupid. It works well enough for small one-off
sites, but leads to poor architecture and poor maintainability.
Yeah like all of those PHP forums and apps like Jinzora. Those are all
totally useless...

Ever tried to make your own templates for PHPbb, or modify an existing
one? And then tried to update?

Why do you think that altering Perl to make it more attractive to the
ignorant and lazy will be an improvement?
Huh? Do you even understand what he's asking for? How is it "attractive
to the ignorant and lazy" to want to have Perl easily available when
writing a web page?!? Oh sure you can use CGI but then everything has to
be handled by Perl. And no I've never seen a poorly architected and
poorly maintainable web page written with Perl and CGI - and neither
have you! Give me a frigging break...

Yup, I have seen a lot of Perl CGI, and in the beginning I thought I had
seen the worse code in my life. Until I looked at PHP "programs". Just
read the user comments at php.net for several functions and you might get
my point (but this being Usenet, I guess not).


--
John Experienced Perl programmer: http://castleamber.com/

Perl help, tutorials, and examples: http://johnbokma.com/perl/
.



Relevant Pages

  • FAQ 9.1 What is the correct form of response from a CGI script?
    ... This message is one of several periodic postings to comp.lang.perl.misc ... from the documentation provided with Perl. ... What is the correct form of response from a CGI script? ... The Common Gateway Interface (CGI) specifies a software interface ...
    (comp.lang.perl.misc)
  • FAQ 9.1 What is the correct form of response from a CGI script?
    ... This message is one of several periodic postings to comp.lang.perl.misc ... from the documentation provided with Perl. ... What is the correct form of response from a CGI script? ... The Common Gateway Interface (CGI) specifies a software interface ...
    (comp.lang.perl.misc)
  • Re: Help with a stragegy for diagnosis
    ... I have a Perl CGI that has work for years. ... first failure and before the second. ... A strategy would be to write tests for the script until you get the same ...
    (comp.lang.perl.moderated)
  • Re: Need help with CGI/ DBI error (permissions?)
    ... >> My other Perl CGI scripts that don't use DBI run OK, ... > able to telepathically decipher your web server configuration, ... problems with serving up *Perl* pages. ... you just said that your other CGI scripts run fine. ...
    (comp.lang.perl.misc)
  • Re: How to write to drive A: from CGI Perl
    ... >> If that does not look weird to you, then please go back to basics. ... Please (assuming that the quoted text is an actual excerpt from the HTML ... You will have a better version of Perl? ... for HTML or Perl or CGI or anything. ...
    (comp.lang.perl.misc)