Hi Rob, On Thu, 15 Dec 2011 22:27:22 +0000 Rob Dixon <rob.di...@gmx.com> wrote:
> Decades of programming in many languages have convinced me that Perl > excels in every aspect. But I have to agree with Rajeev that Perl 6 has > become a theory and needs evidence of practical application. > > In my mind there is no doubt of the benefits in Perl, but what place > does it have? And what are its competitors? > > As CGI, Perl falls behind PHP by having to 'print' the entire HTML page. First of all, there are "code-inside-markup" solutions for Perl: * http://search.cpan.org/dist/HTML-Mason/ * http://search.cpan.org/dist/Apache-ASP/ * http://search.cpan.org/dist/Embperl/ So you can use it in a similar manner to PHP, if you desire. Moreover, I feel that that inside-out language approach is not very useful in the more complex cases of having a common look and feel, and generating more complex and dynamic HTML. Larry Wall's first language was an inside-out one, BTW, but he understood why it wasn't such a good idea by the time he started Perl. Someone on the Joel-on-Software forum, I believe, said they just put all of their PHP code inside a gigantic <?php ... ?> and avoid its inside-out behaviour. > > So what is its place? > Well, Perl is a general-purpose language, so you can use it for many kinds of task. See: http://perl-begin.org/uses/ Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ "The Human Hacking Field Guide" - http://shlom.in/hhfg “I’m not straight — I’m Israeli.” Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/