LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] [OT] Perl v.s PHP?

[ILUG] [OT] Perl v.s PHP?

Kae Verens kverens at contactjuggling.org
Thu Feb 22 14:31:09 GMT 2001


On Thu, 22 Feb 2001, Cormac McClean wrote:
> Hi,
> 
> What do you feel are the relative merits of Perl v.s PHP
> for inclusion in a course in Web application development
> (including database connectivity)?
> Which is more widely used currently, and is this likely
> to change in the future?

I guess it depends on the job needed. I use PHP when a lot of databasing is
needed, and Perl for when there's a lot of file-work.

I've always found it awkward connecting to databases in Perl, but love it's
powerful regexps - yes, PHP has them as well, but they're not as easy to use
(IME).

I have yet to write a PHP program which accesses files - mostly because of it's
awkward regexps.

A plus for Perl is that it is included in most Linux distributions, where PHP
usually has to be specifically installed. Therefore, if you're giving someone a
script for their own use, it's more logical to give a Perl script.

PHP is much better for Internet work, in my opinion. The ease in which CGI
parameters, environmental variables, and cookies can be read and manipulated is
a big plus for me.

-- 
Kae Verens                www.orbism.com
www.contactjuggling.org/personal/kverens




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell