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.
|
---|
In Section
Seekers of Perl Wisdom