The single best thing that could be done to popularize Perl to the masses would be to make Perl code embeddable in pages...This sort of format is really the only thing that makes PHP popular. If Perl could do that, I'd never touch PHPI can't understand why embedding code in webpages is so widely considered a special ability of PHP which Perl lacks when that is such a basic built-in feature of mod_perl.
Why hasn't anyone mentioned Perl Server-Side Includes which Apache 1.3 provides out of the box with mod_include?
It's so easy, so powerful, so... obvious!<!--#perl sub="print q~one line of perl code~" -->
Apache 2.0 moves this capability to the Apache::IncludeHook module.<!--#perl sub="sub{ $_ = 'Multiple lines of Perl code.'; s/\.$/.../; print }"-->
If Perl could do thatFamous last words. What made you think it could not?
In reply to Re^2: Perl mindshare in web development
by Anonymous Monk
in thread Perl mindshare in web development
by gunzip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |