{"action":"created","issue":{"url":"https://api.github.com/repos/makamaka/Text-CSV/issues/27","repository_url":"https://api.github.com/repos/makamaka/Text-CSV","labels_url":"https://api.github.com/repos/makamaka/Text-CSV/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/makamaka/Text-CSV/issues/27/comments","events_url":"https://api.github.com/repos/makamaka/Text-CSV/issues/27/events","html_url":"https://github.com/makamaka/Text-CSV/issues/27","id":88063385,"number":27,"title":"is_missing() working properly?","user":{"login":"rwhitworth","id":7214365,"avatar_url":"https://avatars.githubusercontent.com/u/7214365?v=3","gravatar_id":"","url":"https://api.github.com/users/rwhitworth","html_url":"https://github.com/rwhitworth","followers_url":"https://api.github.com/users/rwhitworth/followers","following_url":"https://api.github.com/users/rwhitworth/following{/other_user}","gists_url":"https://api.github.com/users/rwhitworth/gists{/gist_id}","starred_url":"https://api.github.com/users/rwhitworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwhitworth/subscriptions","organizations_url":"https://api.github.com/users/rwhitworth/orgs","repos_url":"https://api.github.com/users/rwhitworth/repos","events_url":"https://api.github.com/users/rwhitworth/events{/privacy}","received_events_url":"https://api.github.com/users/rwhitworth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2015-06-13T20:45:39Z","updated_at":"2016-10-03T17:16:30Z","closed_at":null,"body":"I notice there are no tests for the is_missing() function, so I created a few, but it looks like is_missing returns undef when it shouldn't.  Am I misunderstanding the is_missing or getline_hr functions?\r\n\r\nThe test is also my fork of this repo in case Markdown eats the code..\r\n\r\n\r\n> #!/usr/bin/perl\r\n> \r\n> use strict;\r\n> $^W = 1;\r\n> \r\n> use Test::More tests => 9;\r\n> \r\n> BEGIN {\r\n>     $ENV{PERL_TEXT_CSV} = 0;\r\n>     use_ok \"Text::CSV\", ();\r\n>     plan skip_all => \"Cannot load Text::CSV\" if $@;\r\n> }\r\n> \r\n> open  FH, \">_99test.csv\";\r\n> print FH <<EOC;\r\n> \r\n> 2\r\n> EOC\r\n> close FH;\r\n> \r\n> ok (my $csv = Text::CSV->new (),        \"new\");\r\n> is ($csv->is_missing(0), undef, \"is_missing()\");\r\n> \r\n> open  FH, \"<_99test.csv\";\r\n> ok ($csv->column_names ('code'));\r\n> ok (my $hr = $csv->getline_hr (*FH));\r\n> is ($csv->is_missing(0), undef, \"is_missing()\");\r\n> ok ($hr = $csv->getline_hr (*FH));\r\n> is (int $hr->{code}, 2, \"code==2\");\r\n> isnt ($csv->is_missing(0), undef, \"isn't is_missing()\");\r\n> close FH;\r\n> "},"comment":{"url":"https://api.github.com/repos/makamaka/Text-CSV/issues/comments/251166646","html_url":"https://github.com/makamaka/Text-CSV/issues/27#issuecomment-251166646","issue_url":"https://api.github.com/repos/makamaka/Text-CSV/issues/27","id":251166646,"user":{"login":"Tux","id":2492,"avatar_url":"https://avatars.githubusercontent.com/u/2492?v=3","gravatar_id":"","url":"https://api.github.com/users/Tux","html_url":"https://github.com/Tux","followers_url":"https://api.github.com/users/Tux/followers","following_url":"https://api.github.com/users/Tux/following{/other_user}","gists_url":"https://api.github.com/users/Tux/gists{/gist_id}","starred_url":"https://api.github.com/users/Tux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tux/subscriptions","organizations_url":"https://api.github.com/users/Tux/orgs","repos_url":"https://api.github.com/users/Tux/repos","events_url":"https://api.github.com/users/Tux/events{/privacy}","received_events_url":"https://api.github.com/users/Tux/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T17:16:30Z","updated_at":"2016-10-03T17:16:30Z","body":"I **still** have not made up my mind. So hard to choose between multiple versions of correct :)"}}
{"actor":{"display_login":"Tux"}}