{"action":"created","issue":{"url":"https://api.github.com/repos/manwar/Regexp-Common-time/issues/4","repository_url":"https://api.github.com/repos/manwar/Regexp-Common-time","labels_url":"https://api.github.com/repos/manwar/Regexp-Common-time/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/manwar/Regexp-Common-time/issues/4/comments","events_url":"https://api.github.com/repos/manwar/Regexp-Common-time/issues/4/events","html_url":"https://github.com/manwar/Regexp-Common-time/pull/4","id":211577245,"number":4,"title":"POSIX is always present","user":{"login":"yanick","id":19954,"avatar_url":"https://avatars1.githubusercontent.com/u/19954?v=3","gravatar_id":"","url":"https://api.github.com/users/yanick","html_url":"https://github.com/yanick","followers_url":"https://api.github.com/users/yanick/followers","following_url":"https://api.github.com/users/yanick/following{/other_user}","gists_url":"https://api.github.com/users/yanick/gists{/gist_id}","starred_url":"https://api.github.com/users/yanick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanick/subscriptions","organizations_url":"https://api.github.com/users/yanick/orgs","repos_url":"https://api.github.com/users/yanick/repos","events_url":"https://api.github.com/users/yanick/events{/privacy}","received_events_url":"https://api.github.com/users/yanick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-03T02:21:33Z","updated_at":"2017-06-19T16:22:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/manwar/Regexp-Common-time/pulls/4","html_url":"https://github.com/manwar/Regexp-Common-time/pull/4","diff_url":"https://github.com/manwar/Regexp-Common-time/pull/4.diff","patch_url":"https://github.com/manwar/Regexp-Common-time/pull/4.patch"},"body":"and it's `use`d too at line 13, so the check afterward is unnecessary"},"comment":{"url":"https://api.github.com/repos/manwar/Regexp-Common-time/issues/comments/309491997","html_url":"https://github.com/manwar/Regexp-Common-time/pull/4#issuecomment-309491997","issue_url":"https://api.github.com/repos/manwar/Regexp-Common-time/issues/4","id":309491997,"user":{"login":"manwar","id":681195,"avatar_url":"https://avatars1.githubusercontent.com/u/681195?v=3","gravatar_id":"","url":"https://api.github.com/users/manwar","html_url":"https://github.com/manwar","followers_url":"https://api.github.com/users/manwar/followers","following_url":"https://api.github.com/users/manwar/following{/other_user}","gists_url":"https://api.github.com/users/manwar/gists{/gist_id}","starred_url":"https://api.github.com/users/manwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manwar/subscriptions","organizations_url":"https://api.github.com/users/manwar/orgs","repos_url":"https://api.github.com/users/manwar/repos","events_url":"https://api.github.com/users/manwar/events{/privacy}","received_events_url":"https://api.github.com/users/manwar/received_events","type":"User","site_admin":false},"created_at":"2017-06-19T16:22:35Z","updated_at":"2017-06-19T16:22:35Z","body":"What I meant is the line 13, \"use POSIX;\" is not required. \r\n\r\nIf we remove the line 13 then everything else would make sense.\r\n\r\n     17: my $can_locale;\r\n     18: my $can_posix;\r\n     19: BEGIN\r\n     20: {\r\n     21:      eval\r\n     22:      {\r\n     23:        $can_posix = 0;\r\n     24:        require POSIX;\r\n     25:        $can_posix = 1;\r\n     26:     };\r\n     ....\r\n     ....\r\n     ....\r\n     483: $current_locale = $can_posix?  POSIX::setlocale(POSIX::LC_TIME())  :  q{};"}}
{"actor":{"display_login":"manwar"}}