NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Yep (Score:2)
mod_perl isn't getting web developers because it isn't a web application framework. PHP is.
Perl is like Lisp. We have the base language, on which we write the language in which we will write our program. I'm sure people who truly grok Lisp and all of Paul Graham's stuff will say Perl doesn't completely fulfill this, but I think it does partially. We create, at least, a hybrid language that consists of Perl + whatever modules we deem necessary.
Look at the way everyone writes their own templating system at some point: this is because the language is being used as a meta-language to write the language in which the final program will be written. It's analogous to the way Scheme and (IIUC) Lisp can have multiple object systems. The language you come up with in the end is Perl+CGI.pm or Perl+TT or Perl+DBI (who said I was talking about webapps here? Perl+DBI is itself a great language not suited for web developement, unless you want to take the improved version, Perl+DBI+CGI.pm.) or Perl+Time::Piece or whatever.
So in the end, the way to capture the PHP market, if this is desired, is not to try to sell Perl as the language to write webapps in, but some hybrid language Perl+WEBAPPLANG.pm. And the emphasis should be on the WEBAPPLANG.pm, not the Perl, and this beast (which might be more than just a module) should handle all of the things you mentioned with ease of installation, etc.
In the end I think I'm saying the same thing you're saying, just in a different way. But to me it makes no difference if Perl captures the PHP market or not. (I suspect it's no big deal to you, either.)
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Reply to This
Re:Yep (Score:1)
But to me it makes no difference if Perl captures the PHP market or not. (I suspect it's no big deal to you, either.)
You're right. I don't care all that much about Perl in the web space specifically, but I'd like to see Perl capture the general application development market. Perl replacing VB (via .NET) is a beautiful dream.
I doubt it will happen though. Still, Perl has been a huge influence on so many of the modern languages. It's humbling.
Re:Yep (Score:2)
Yep. And that's why it's totally irrelevant Perl will or will not see widespread use for general application development. You can focus on the near horizon -- getting Perl used in the mainstream -- or you can focus on the far horizon -- getting the features and principles behind Perl adopted by the mainstream.
Ask yourself if the programs you write today are better than the programs you wrote five or ten years ag
mod_perl_lite? (Score:1)
Re:mod_perl_lite? (Score:1)
Re:Yep (Score:1)
PHP can grow organically, increasing its sphere of usefulness, just like Perl did. More and more Perl may become like Latin -- forgotten by the modern day unwashed and just a curious field of study for ivory tower eggheads. Not that there's anything
Re:Yep (Score:2)
But for those of us who use Perl for completely non-web related things, we could care less if Perl beats out other languages in the webapp space. The right tool should be used for the job. If PHP does the job better, great!
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:Yep (Score:1)