Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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 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?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2016-02-12 01:29 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (386 votes), past polls