{"id":204,"date":"2003-04-28T12:01:09","date_gmt":"2003-04-28T09:01:09","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=204"},"modified":"2003-04-28T12:01:09","modified_gmt":"2003-04-28T09:01:09","slug":"porting-php-to-perl","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2003\/04\/28\/porting-php-to-perl\/","title":{"rendered":"Porting PHP to Perl"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>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 developing from scratch (at least in my case), Perl still looks and feels much easier and, well, natural, then PHP. Maybe it&#8217;s because I am spending too much time at <a href=\"http:\/\/www.perlmonks.com\">Perl Monks<\/a>.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>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 developing from scratch (at least &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2003\/04\/28\/porting-php-to-perl\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Porting PHP 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,62],"tags":[],"keyring_services":[],"class_list":["post-204","post","type-post","status-publish","format-standard","hentry","category-general","category-technology"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":11461,"url":"https:\/\/mamchenkov.net\/wordpress\/2008\/12\/12\/perl-vs-php-variable-scoping\/","url_meta":{"origin":204,"position":0},"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":7402,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/03\/30\/php-zopepython-and-perl\/","url_meta":{"origin":204,"position":1},"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":7961,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/26\/php-in-contrast-to-perl\/","url_meta":{"origin":204,"position":2},"title":"PHP IN CONTRAST TO PERL","author":"Leonid Mamchenkov","date":"September 26, 2004","format":false,"excerpt":"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\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":43485,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/09\/02\/perl-6-re-branding\/","url_meta":{"origin":204,"position":3},"title":"Perl 6 re-branding","author":"Leonid Mamchenkov","date":"September 2, 2019","format":false,"excerpt":"Curtis \"Ovid\" Poe, the author of the book \"Beginning Perl\" and long-time Perl Monk, has this excellent post on the re-branding discussion of Perl 6. Even though I'm not writing much Perl code these days, I have to admit that the whole Perl 6 thing has been going for years\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":12138,"url":"https:\/\/mamchenkov.net\/wordpress\/2010\/02\/12\/php-variables-strings-and-curly-braces\/","url_meta":{"origin":204,"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":22151,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/07\/08\/testframeworkinatweet-php-a-php-unit-testing-framework-in-a-tweet\/","url_meta":{"origin":204,"position":5},"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":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/204","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=204"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/204\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=204"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}