A few of the major pluses for PHP:

* Easy with syntax similar to Perl and C
* Fast
* It's embedded into the HTML code so HTML and PHP mixing is easy

Perl has a few solutions to the last one, and if you want to continue
on down the perl path and take a look these:

Embperl
http://perl.apache.org/embperl/

Or eperl
http://www.engelschall.com/sw/eperl/

There may be others.

I'd like to play with these some, but haven't had much time.  It seems
like it would be powerful to have an embedded perl for web stuff.

-Rob

> On 20010726.1619, Cory Petkovsek said ...
>
> Thanks to those who helped me decide on a scripting language to
> learn.  Perl has been very helpful.  Now, I am interested in web
> scripting.
> 
> Why would I want to use perl vs php?  What alternatives might there
> be?  
> 
> Why should I learn php, when I just got a handle on perl (without
> the cgi/web scripting portion of course)?
> 
> Is php similar in structure to perl and c?
> 
> I currently do html editting with vim.
> 
> How popular are the server portions among webhosts?  My impression
> is that a lot of webhosts support php, but *everyone* supports perl.
> 
> I appreciate your input.
> 
> Cory
> 
> 

Reply via email to