{"id":1406,"date":"2018-07-24T13:24:18","date_gmt":"2018-07-24T12:24:18","guid":{"rendered":"http:\/\/blog.briang.org\/?p=1406"},"modified":"2018-07-24T13:30:29","modified_gmt":"2018-07-24T12:30:29","slug":"patching-perl-loading-modules-that-return-false","status":"publish","type":"post","link":"https:\/\/blog.briang.org\/?p=1406","title":{"rendered":"Patching Perl: loading modules that return false"},"content":{"rendered":"<p><a href=\"https:\/\/www.perl.com\/article\/patching-perl-loading-modules-that-return-false\/\"><strong>Patching Perl: loading modules that return false<\/strong><\/a><\/p>\n<blockquote><p>If you\u2019ve been programming Perl for a while, you\u2019ve probably run into this exception: Foo.pm did not return a true value. This is a peculiar quirk of the require function: modules must return a true value else Perl interprets it as a failure<\/p><\/blockquote>\n<p>via <a href=\"https:\/\/www.reddit.com\/r\/perl\/comments\/917jdh\/patching_perl_loading_modules_that_return_false\/\">r\/perl<\/a> [reddit]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Patching Perl: loading modules that return false If you\u2019ve been programming Perl for a while, you\u2019ve probably run into this exception: Foo.pm did not return a true value. This is a peculiar quirk of the require function: modules must return a true value else Perl interprets it as a failure via r\/perl [reddit]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[301,5,411,252,242],"class_list":["post-1406","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-authordavid-farrell","tag-perl","tag-r-perl","tag-reddit","tag-xs"],"_links":{"self":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1406"}],"version-history":[{"count":3,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1406\/revisions"}],"predecessor-version":[{"id":1409,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1406\/revisions\/1409"}],"wp:attachment":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}