|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Perl Old ?
I have been learing perl and everyone around me is saying to stop with perl and start with php.
Because perl is old and php is new. Perl has not future. And everywhere around me i see php and xml on pages. so i wonder should i continue my studie on PERL (CGI) or go to php. please advise and explain your anwser. and sorry for the bad englisch tnx rayman |
|
#2
|
|||
|
|||
|
People that say Perl has no future only say that because they don't know about the many applications that Perl has that PHP does not.
I will say that PHP may have speed advantages over Perl in some aspects, the main one being that once an instance of the PHP interpreter has started, no other ones need to be created. Pelr on the other hand, must spawn a new instance of the interpreter with every script that is called. This flaw in Perl is remedied with the deployment of mod_perl. I don't know mod_perl particularly well, but I do know that it keeps one instance of the Perl interpreter going for all scripts. Thus, PHP's interpreter advantage is no more. Some will also say that PHP has a lot of native code that Perl doesn't have. I say, malarky, . Perl's advantages include its regular expression capabilities(which as far as I'm concerned is enough), as well its usefullness in many areas of computing other than CGI and web-dev. Examples: System Administration, text-processing. THere are others. I suppose the choice as to which one to go with depends on you and what you'll be using it for. To be quite honest, the two languages are so syntactically similar, that once you know one, you pretty much know the other anyway. But, to say that Perl has no future is ludicrous, and that's a euphamism.
__________________
- dsb - ![]() Perl Guy |
|
#3
|
|||
|
|||
|
hehe tnx...
i find it very hard to learn perl.... and espacially the split i find very hard. and using txts as database ? so should i use sql or just try to learn using txt files as database.. and uhm... is perl 6 going to be the same as 5 in the way of programming ? he tnx... for the reply |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Perl Old ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|