{"action":"created","issue":{"url":"https://api.github.com/repos/dagolden/Path-Tiny/issues/150","labels_url":"https://api.github.com/repos/dagolden/Path-Tiny/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/dagolden/Path-Tiny/issues/150/comments","events_url":"https://api.github.com/repos/dagolden/Path-Tiny/issues/150/events","html_url":"https://github.com/dagolden/Path-Tiny/pull/150","id":107373119,"number":150,"title":"Fix incorrect Win32 tilde expansions","user":{"login":"rivy","id":80132,"avatar_url":"https://avatars.githubusercontent.com/u/80132?v=3","gravatar_id":"","url":"https://api.github.com/users/rivy","html_url":"https://github.com/rivy","followers_url":"https://api.github.com/users/rivy/followers","following_url":"https://api.github.com/users/rivy/following{/other_user}","gists_url":"https://api.github.com/users/rivy/gists{/gist_id}","starred_url":"https://api.github.com/users/rivy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rivy/subscriptions","organizations_url":"https://api.github.com/users/rivy/orgs","repos_url":"https://api.github.com/users/rivy/repos","events_url":"https://api.github.com/users/rivy/events{/privacy}","received_events_url":"https://api.github.com/users/rivy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-20T04:52:40Z","updated_at":"2015-09-26T20:08:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dagolden/Path-Tiny/pulls/150","html_url":"https://github.com/dagolden/Path-Tiny/pull/150","diff_url":"https://github.com/dagolden/Path-Tiny/pull/150.diff","patch_url":"https://github.com/dagolden/Path-Tiny/pull/150.patch"},"body":"* translate backslashes to slashes after glob expansion of tildes\r\n* fixes #149\r\n"},"comment":{"url":"https://api.github.com/repos/dagolden/Path-Tiny/issues/comments/143491512","html_url":"https://github.com/dagolden/Path-Tiny/pull/150#issuecomment-143491512","issue_url":"https://api.github.com/repos/dagolden/Path-Tiny/issues/150","id":143491512,"user":{"login":"rivy","id":80132,"avatar_url":"https://avatars.githubusercontent.com/u/80132?v=3","gravatar_id":"","url":"https://api.github.com/users/rivy","html_url":"https://github.com/rivy","followers_url":"https://api.github.com/users/rivy/followers","following_url":"https://api.github.com/users/rivy/following{/other_user}","gists_url":"https://api.github.com/users/rivy/gists{/gist_id}","starred_url":"https://api.github.com/users/rivy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rivy/subscriptions","organizations_url":"https://api.github.com/users/rivy/orgs","repos_url":"https://api.github.com/users/rivy/repos","events_url":"https://api.github.com/users/rivy/events{/privacy}","received_events_url":"https://api.github.com/users/rivy/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T20:08:24Z","updated_at":"2015-09-26T20:08:24Z","body":"@dagolden \r\n\r\nFor completeness and uniformity, it might also be best to add translations for the other uses of glob() within `t/basic.t`, changing:\r\n\r\n```\r\nmy ($root_homedir) = glob('~root');  \r\nmy ($missing_homedir) = glob('~idontthinkso');  \r\n```\r\nto\r\n ```\r\nmy ($root_homedir) = glob('~root');\r\n$root_homedir =~ tr[\\\\][/] if $IS_WIN32;\r\nmy ($missing_homedir) = glob('~idontthinkso');\r\n$missing_homedir =~ tr[\\\\][/] if $IS_WIN32; \r\n```\r\n\r\nSince these globs just return the tilde-included original string on all of the Windows versions that I've seen, the tests pass either way. But, maybe, add it as future-proof, just in case glob starts finding user directories other than '~'?\r\n\r\nYour thoughts?"}}