{"id":80,"date":"2013-11-14T01:25:00","date_gmt":"2013-11-14T01:25:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2013\/11\/14\/changing-perl-code-i-inherited\/"},"modified":"2013-11-14T01:25:00","modified_gmt":"2013-11-14T01:25:00","slug":"changing-perl-code-i-inherited","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2013\/11\/14\/changing-perl-code-i-inherited\/","title":{"rendered":"changing Perl code I inherited"},"content":{"rendered":"<ul>\n<li>Created a subMain.<\/li>\n<li>There were a lot of &#8220;<i>my<\/i>&#8220;-s outside any subroutine, moved them as &#8220;<i>our<\/i>&#8220;-s to subMain \u2013 not the same visibility, I know.\u00a0<\/li>\n<li>Outside subMain these &#8220;<i>our<\/i>&#8220;-s need to get accessed as &#8220;<i>main::\u2026<\/i>&#8220;.<\/li>\n<li>But actually we don&#8217;t like global variables at all, so pass them as parameters or \u2026<\/li>\n<li>\u2026<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Created a subMain. There were a lot of &#8220;my&#8220;-s outside any subroutine, moved them as &#8220;our&#8220;-s to subMain \u2013 not the same visibility, I know.\u00a0 Outside subMain these &#8220;our&#8220;-s need to get accessed as &#8220;main::\u2026&#8220;. But actually we don&#8217;t like global variables at all, so pass them as parameters or \u2026 \u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":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},"jetpack_post_was_ever_published":false,"_share_on_mastodon":"0"},"categories":[666],"tags":[],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-1i","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=80"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/80\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}