Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: perl vs. php

by Cap'n Steve (Friar)
on Nov 16, 2005 at 04:52 UTC ( #508908=note: print w/ replies, xml ) Need Help??


in reply to perl vs. php

Regarding the transition from Perl to PHP: It'll most likely be extremely easy, since the only real syntax differences in the average program would be references and arrays. Some things to keep in mind, though:

  • Be prepared to spend some time on php.net. You'll need to look up functions. A lot of functions.
  • Variable scoping is completely backwards compared to Perl. This continues to bother me.
  • Regular expressions in PHP will annoy the hell out of you. I recommend you stay with Perl if you need to do a lot of text processing.


Comment on Re: perl vs. php

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://508908]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (14)
As of 2015-07-06 16:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls