{"id":1552,"date":"2020-05-16T09:53:45","date_gmt":"2020-05-16T08:53:45","guid":{"rendered":"http:\/\/blog.briang.org\/?p=1552"},"modified":"2020-05-16T09:53:45","modified_gmt":"2020-05-16T08:53:45","slug":"exporting-use-strict-warnings-into-main","status":"publish","type":"post","link":"https:\/\/blog.briang.org\/?p=1552","title":{"rendered":"Exporting use strict\/warnings into main"},"content":{"rendered":"<p><a href=\"https:\/\/www.perlmonks.org\/?node_id=11116817\"><strong>Exporting use strict\/warnings into main<\/strong><\/a><\/p>\n<blockquote><p>When a user adds this package with use, I&#8217;d like it to automatically inject\/export the use strict; use warnings pragmas so they don&#8217;t have to add it to their script. I&#8217;ve seen other packages do this but I can&#8217;t figure out how.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Exporting use strict\/warnings into main When a user adds this package with use, I&#8217;d like it to automatically inject\/export the use strict; use warnings pragmas so they don&#8217;t have to add it to their script. I&#8217;ve seen other packages do this but I can&#8217;t figure out how.<\/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":[501,303,5,4],"class_list":["post-1552","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-authornysus","tag-cpanimportinto","tag-perl","tag-perlmonks"],"_links":{"self":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1552","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=1552"}],"version-history":[{"count":1,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1552\/revisions"}],"predecessor-version":[{"id":1553,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1552\/revisions\/1553"}],"wp:attachment":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}