{"id":7961,"date":"2004-09-26T14:00:00","date_gmt":"2004-09-26T12:00:00","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/26\/php-in-contrast-to-perl\/"},"modified":"2005-10-03T08:49:59","modified_gmt":"2005-10-03T05:49:59","slug":"php-in-contrast-to-perl","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/26\/php-in-contrast-to-perl\/","title":{"rendered":"PHP IN CONTRAST TO PERL"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><img decoding=\"async\" class=\"alignleft\" src=\"\/wordpress\/wp-content\/20040923-php_logo.gif\" alt=\"\"\/><img decoding=\"async\" class=\"alignright\" src=\"\/wordpress\/wp-content\/20040923-perl_logo.jpeg\" alt=\"\"\/>There are plenty of holy wars on the web that argue about superiority of PHP over Perl and vice versa.  There are many people who prefer PHP, and there are many others who prefer Perl.  I am, of course, in the Perl camp.  I have programmed both Perl and PHP over some time, and there is no doubt in my head that Perl is way better than PHP as a language.  The only point that I like about PHP is the how mod_php works.  mod_php is a PHP module for Apache web server, for those who don&#8217;t know.<\/p>\n<p>Anyway, back to the subject.  I came across an excellent document titled &#8220;<a href=\"http:\/\/tnx.nl\/php\">PHP IN CONTRAST TO PERL<\/a>&#8220;.  It summarizes the benefits of Perl compared to PHP nicely and clearly.  It also links to a number of other resources on the subject, as well as provides the summary of those resources.  Really neat paper and a must read for anyone who has or will have to deal with Perl and\/or PHP.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>There are plenty of holy wars on the web that argue about superiority of PHP over Perl and vice versa. There are many people who prefer PHP, and there are many others who prefer Perl. I am, of course, in the Perl camp. I have programmed both Perl and PHP over some time, and there &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/26\/php-in-contrast-to-perl\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">PHP IN CONTRAST TO PERL<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,2,18],"tags":[36,38],"keyring_services":[],"class_list":["post-7961","post","type-post","status-publish","format-standard","hentry","category-general","category-personal","category-programming","tag-perl","tag-php"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":7402,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/03\/30\/php-zopepython-and-perl\/","url_meta":{"origin":7961,"position":0},"title":"PHP, Zope\/Python, and Perl","author":"Leonid Mamchenkov","date":"March 30, 2004","format":false,"excerpt":"There is an article at kuro5hin.net called \"Switching from PHP to Zope\/Python\". This should provide for an interesting read for all those poor PHP souls. As for me - I use Perl and I am not planning to change any time soon. There are two major bonuses in Perl for\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":204,"url":"https:\/\/mamchenkov.net\/wordpress\/2003\/04\/28\/porting-php-to-perl\/","url_meta":{"origin":7961,"position":1},"title":"Porting PHP to Perl","author":"Leonid Mamchenkov","date":"April 28, 2003","format":false,"excerpt":"I am doing lots of perl programming these days. And there is yet lots more to come. I am currently porting most of my PHP code base to Perl. This provides a good practice, as well as code review and clean-up. Although, I know that porting is somewhat easier then\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11461,"url":"https:\/\/mamchenkov.net\/wordpress\/2008\/12\/12\/perl-vs-php-variable-scoping\/","url_meta":{"origin":7961,"position":2},"title":"Perl vs. PHP : variable scoping","author":"Leonid Mamchenkov","date":"December 12, 2008","format":false,"excerpt":"I've mentioned quite a few times that I am a big fan of Perl programming languge.\u00a0 However, most of my programming time these days is spent in PHP.\u00a0 The languages are often similar, with PHP having its roots in Perl, and Perl being such a influence in the world of\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":22151,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/07\/08\/testframeworkinatweet-php-a-php-unit-testing-framework-in-a-tweet\/","url_meta":{"origin":7961,"position":3},"title":"TestFrameworkInATweet.php &#8211; a PHP unit testing framework in a tweet","author":"Leonid Mamchenkov","date":"July 8, 2014","format":"link","excerpt":"TestFrameworkInATweet.php - a PHP unit testing framework in a tweet. \u00a0This is brilliant in its own way. \u00a0It reminds me of the Perl Golf Apocalypse.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12138,"url":"https:\/\/mamchenkov.net\/wordpress\/2010\/02\/12\/php-variables-strings-and-curly-braces\/","url_meta":{"origin":7961,"position":4},"title":"PHP variables, strings, and curly braces","author":"Leonid Mamchenkov","date":"February 12, 2010","format":false,"excerpt":"For the last couple of days we had a number arguments at work about what is the best way to surround a complex PHP variable inside a double-quoted string. \u00a0More specifically, should the sigil ($, dollar sign) be on the inside of the braces or on the outside. \u00a0Consider an\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12235,"url":"https:\/\/mamchenkov.net\/wordpress\/2010\/03\/08\/whatever-happened-to-programming\/","url_meta":{"origin":7961,"position":5},"title":"Whatever happened to programming","author":"Leonid Mamchenkov","date":"March 8, 2010","format":false,"excerpt":"Via this Slashdot post I came across an excellent blog rant - Whatever happened to programming (and the follow-up). \u00a0Subject in focus - modern programming, and how boring it have become (mostly). Today, I mostly paste libraries together. \u00a0So do you, most likely, if you work in software. \u00a0Doesn\u2019t that\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=7961"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7961\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=7961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=7961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=7961"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=7961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}