Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 having an uproarious good time at the Monastery: (7)
As of 2014-12-29 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (187 votes), past polls