{"action":"closed","issue":{"url":"https://api.github.com/repos/doherty/utf8-all/issues/37","labels_url":"https://api.github.com/repos/doherty/utf8-all/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/doherty/utf8-all/issues/37/comments","events_url":"https://api.github.com/repos/doherty/utf8-all/issues/37/events","html_url":"https://github.com/doherty/utf8-all/issues/37","id":66130457,"number":37,"title":"scalar filehandles seems not to work when utf8::all adds io-layers","user":{"login":"wanradt","id":977875,"avatar_url":"https://avatars.githubusercontent.com/u/977875?v=3","gravatar_id":"","url":"https://api.github.com/users/wanradt","html_url":"https://github.com/wanradt","followers_url":"https://api.github.com/users/wanradt/followers","following_url":"https://api.github.com/users/wanradt/following{/other_user}","gists_url":"https://api.github.com/users/wanradt/gists{/gist_id}","starred_url":"https://api.github.com/users/wanradt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wanradt/subscriptions","organizations_url":"https://api.github.com/users/wanradt/orgs","repos_url":"https://api.github.com/users/wanradt/repos","events_url":"https://api.github.com/users/wanradt/events{/privacy}","received_events_url":"https://api.github.com/users/wanradt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-03T11:34:17Z","updated_at":"2015-04-03T15:20:36Z","closed_at":"2015-04-03T15:20:36Z","body":"Here is little test-case:\r\n\r\n    use strict; use warnings; use 5.010; \r\n    use utf8::all;\r\n    use Data::Printer;\r\n    my $date = localtime;\r\n\r\n    open my $fh_scalar, '>', \\ my $scalar;\r\n    p $fh_scalar;\r\n    say { $fh_scalar } \"test: $date\";\r\n    say $scalar;\r\n\r\n`$scalar` stays undef while `use utf8::all` adds those utf8-related layers, without it `$scalar` gathers data fine and script prints it out. Seems that for scalar-filehandle those IO-layers are expendable.\r\n"}}