{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/moose/MooseX-Getopt/pulls/7","id":69565841,"html_url":"https://github.com/moose/MooseX-Getopt/pull/7","diff_url":"https://github.com/moose/MooseX-Getopt/pull/7.diff","patch_url":"https://github.com/moose/MooseX-Getopt/pull/7.patch","issue_url":"https://api.github.com/repos/moose/MooseX-Getopt/issues/7","number":7,"state":"closed","locked":false,"title":"Ignore attributes with init_arg => undef","user":{"login":"oschwald","id":278835,"avatar_url":"https://avatars.githubusercontent.com/u/278835?v=3","gravatar_id":"","url":"https://api.github.com/users/oschwald","html_url":"https://github.com/oschwald","followers_url":"https://api.github.com/users/oschwald/followers","following_url":"https://api.github.com/users/oschwald/following{/other_user}","gists_url":"https://api.github.com/users/oschwald/gists{/gist_id}","starred_url":"https://api.github.com/users/oschwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oschwald/subscriptions","organizations_url":"https://api.github.com/users/oschwald/orgs","repos_url":"https://api.github.com/users/oschwald/repos","events_url":"https://api.github.com/users/oschwald/events{/privacy}","received_events_url":"https://api.github.com/users/oschwald/received_events","type":"User","site_admin":false},"body":"After upgrading to 0.69, we ran into the following issue on some of our classes that used `init_arg => undef`:\r\n\r\n```\r\nUse of uninitialized value $flag in join or string at /home/greg/MaxMind/MooseX-Getopt/lib/MooseX/Getopt/Basic.pm line 243.\r\nUse of uninitialized value in lc at /home/greg/MaxMind/MooseX-Getopt/lib/MooseX/Getopt/GLD.pm line 75.\r\nperverse option names given:  at /home/greg/perl5/perlbrew/perls/perl-5.20.2/lib/site_perl/5.20.2/Getopt/Long/Descriptive/Opts.pm line 93.\r\n\tGetopt::Long::Descriptive::Opts::___class_for_opt(\"Getopt::Long::Descriptive::Opts\", HASH(0x2b661c8)) called at /home/greg/perl5/perlbrew/perls/perl-5.20.2/lib/site_perl/5.20.2/Getopt/Long/Descriptive/Opts.pm line 115\r\n\tGetopt::Long::Descriptive::Opts::___new_opt_obj(\"Getopt::Long::Descriptive::Opts\", HASH(0x2b661c8)) called at /home/greg/perl5/perlbrew/perls/perl-5.20.2/lib/site_perl/5.20.2/Getopt/Long/Descriptive.pm line 474\r\n\tGetopt::Long::Descriptive::__ANON__(\"usage: %c %o\", ARRAY(0x2b5adb8), ARRAY(0x2b5b850), ARRAY(0x2b5b700), ARRAY(0x2b5b760)) called at /home/greg/perl5/perlbrew/perls/perl-5.20.2/lib/site_perl/5.20.2/Getopt/Long/Descriptive.pm line 328\r\n\tGetopt::Long::Descriptive::describe_options(\"usage: %c %o\", ARRAY(0x2b5adb8), ARRAY(0x2b5b850), ARRAY(0x2b5b700), ARRAY(0x2b5b760), HASH(0x2b5bb68)) called at /home/greg/MaxMind/MooseX-Getopt/lib/MooseX/Getopt/GLD.pm line 49\r\n\tClass::MOP::Class:::around(CODE(0x2ac8750), \"Test1\", HASH(0x2ab6780), ARRAY(0x2a40a30)) called at /home/greg/perl5/perlbrew/perls/perl-5.20.2/lib/site_perl/5.20.2/x86_64-linux/Class/MOP/Method/Wrapped.pm line 164\r\n\tTest1::_wrapped__getopt_get_options(\"Test1\", HASH(0x2ab6780), ARRAY(0x2a40a30)) called at /home/greg/perl5/perlbrew/perls/perl-5.20.2/lib/site_perl/5.20.2/x86_64-linux/Class/MOP/Method/Wrapped.pm line 95\r\n\tTest1::_getopt_get_options(\"Test1\", HASH(0x2ab6780), ARRAY(0x2a40a30)) called at /home/greg/MaxMind/MooseX-Getopt/lib/MooseX/Getopt/Basic.pm line 134\r\n\tMooseX::Getopt::Basic::try {...} () called at /home/greg/perl5/perlbrew/perls/perl-5.20.2/lib/site_perl/5.20.2/Try/Tiny.pm line 88\r\n\teval {...} called at /home/greg/perl5/perlbrew/perls/perl-5.20.2/lib/site_perl/5.20.2/Try/Tiny.pm line 83\r\n\tTry::Tiny::try(CODE(0x2b5b0e8), Try::Tiny::Catch=REF(0x2b5ab38)) called at /home/greg/MaxMind/MooseX-Getopt/lib/MooseX/Getopt/Basic.pm line 138\r\n\tMooseX::Getopt::Basic::_parse_argv(\"Test1\", \"options\", ARRAY(0x2b5a898), \"params\", HASH(0x2b5a8e0)) called at /home/greg/MaxMind/MooseX-Getopt/lib/MooseX/Getopt/Basic.pm line 76\r\n\tMooseX::Getopt::Basic::process_argv(\"Test1\", \"argv\", ARRAY(0x2b5a370)) called at /home/greg/MaxMind/MooseX-Getopt/lib/MooseX/Getopt/Basic.pm line 102\r\n\tMooseX::Getopt::Basic::new_with_options(\"Test1\", \"argv\", ARRAY(0x2b5a370)) called at t/114_init_arg.t line 27\r\n```","created_at":"2016-05-10T19:44:34Z","updated_at":"2016-05-10T20:31:46Z","closed_at":"2016-05-10T20:31:46Z","merged_at":null,"merge_commit_sha":"c1a89e14ecff9ba999f16659ebe5abfa21fabd98","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/moose/MooseX-Getopt/pulls/7/commits","review_comments_url":"https://api.github.com/repos/moose/MooseX-Getopt/pulls/7/comments","review_comment_url":"https://api.github.com/repos/moose/MooseX-Getopt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moose/MooseX-Getopt/issues/7/comments","statuses_url":"https://api.github.com/repos/moose/MooseX-Getopt/statuses/3975715513d14ab0b712a9417db477ebed6d08bd","head":{"label":"maxmind:greg/ignore-undef-init-args","ref":"greg/ignore-undef-init-args","sha":"3975715513d14ab0b712a9417db477ebed6d08bd","user":{"login":"maxmind","id":1181834,"avatar_url":"https://avatars.githubusercontent.com/u/1181834?v=3","gravatar_id":"","url":"https://api.github.com/users/maxmind","html_url":"https://github.com/maxmind","followers_url":"https://api.github.com/users/maxmind/followers","following_url":"https://api.github.com/users/maxmind/following{/other_user}","gists_url":"https://api.github.com/users/maxmind/gists{/gist_id}","starred_url":"https://api.github.com/users/maxmind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxmind/subscriptions","organizations_url":"https://api.github.com/users/maxmind/orgs","repos_url":"https://api.github.com/users/maxmind/repos","events_url":"https://api.github.com/users/maxmind/events{/privacy}","received_events_url":"https://api.github.com/users/maxmind/received_events","type":"Organization","site_admin":false},"repo":{"id":58488826,"name":"MooseX-Getopt","full_name":"maxmind/MooseX-Getopt","owner":{"login":"maxmind","id":1181834,"avatar_url":"https://avatars.githubusercontent.com/u/1181834?v=3","gravatar_id":"","url":"https://api.github.com/users/maxmind","html_url":"https://github.com/maxmind","followers_url":"https://api.github.com/users/maxmind/followers","following_url":"https://api.github.com/users/maxmind/following{/other_user}","gists_url":"https://api.github.com/users/maxmind/gists{/gist_id}","starred_url":"https://api.github.com/users/maxmind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxmind/subscriptions","organizations_url":"https://api.github.com/users/maxmind/orgs","repos_url":"https://api.github.com/users/maxmind/repos","events_url":"https://api.github.com/users/maxmind/events{/privacy}","received_events_url":"https://api.github.com/users/maxmind/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/maxmind/MooseX-Getopt","description":"A Moose role for processing command line options","fork":true,"url":"https://api.github.com/repos/maxmind/MooseX-Getopt","forks_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/forks","keys_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/teams","hooks_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/hooks","issue_events_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/issues/events{/number}","events_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/events","assignees_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/assignees{/user}","branches_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/branches{/branch}","tags_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/tags","blobs_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/git/refs{/sha}","trees_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/statuses/{sha}","languages_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/languages","stargazers_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/stargazers","contributors_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/contributors","subscribers_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/subscribers","subscription_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/subscription","commits_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/commits{/sha}","git_commits_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/git/commits{/sha}","comments_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/comments{/number}","issue_comment_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/issues/comments{/number}","contents_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/contents/{+path}","compare_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/merges","archive_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/downloads","issues_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/issues{/number}","pulls_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/pulls{/number}","milestones_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/milestones{/number}","notifications_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/labels{/name}","releases_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/releases{/id}","deployments_url":"https://api.github.com/repos/maxmind/MooseX-Getopt/deployments","created_at":"2016-05-10T19:41:33Z","updated_at":"2016-05-10T19:41:34Z","pushed_at":"2016-05-10T20:07:36Z","git_url":"git://github.com/maxmind/MooseX-Getopt.git","ssh_url":"git@github.com:maxmind/MooseX-Getopt.git","clone_url":"https://github.com/maxmind/MooseX-Getopt.git","svn_url":"https://github.com/maxmind/MooseX-Getopt","homepage":"http://metacpan.org/release/MooseX-Getopt/","size":330,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"moose:master","ref":"master","sha":"1e70803ffab1e0508516dfce9f6297ef0e85d568","user":{"login":"moose","id":71921,"avatar_url":"https://avatars.githubusercontent.com/u/71921?v=3","gravatar_id":"","url":"https://api.github.com/users/moose","html_url":"https://github.com/moose","followers_url":"https://api.github.com/users/moose/followers","following_url":"https://api.github.com/users/moose/following{/other_user}","gists_url":"https://api.github.com/users/moose/gists{/gist_id}","starred_url":"https://api.github.com/users/moose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moose/subscriptions","organizations_url":"https://api.github.com/users/moose/orgs","repos_url":"https://api.github.com/users/moose/repos","events_url":"https://api.github.com/users/moose/events{/privacy}","received_events_url":"https://api.github.com/users/moose/received_events","type":"Organization","site_admin":false},"repo":{"id":12669142,"name":"MooseX-Getopt","full_name":"moose/MooseX-Getopt","owner":{"login":"moose","id":71921,"avatar_url":"https://avatars.githubusercontent.com/u/71921?v=3","gravatar_id":"","url":"https://api.github.com/users/moose","html_url":"https://github.com/moose","followers_url":"https://api.github.com/users/moose/followers","following_url":"https://api.github.com/users/moose/following{/other_user}","gists_url":"https://api.github.com/users/moose/gists{/gist_id}","starred_url":"https://api.github.com/users/moose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moose/subscriptions","organizations_url":"https://api.github.com/users/moose/orgs","repos_url":"https://api.github.com/users/moose/repos","events_url":"https://api.github.com/users/moose/events{/privacy}","received_events_url":"https://api.github.com/users/moose/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moose/MooseX-Getopt","description":"A Moose role for processing command line options","fork":false,"url":"https://api.github.com/repos/moose/MooseX-Getopt","forks_url":"https://api.github.com/repos/moose/MooseX-Getopt/forks","keys_url":"https://api.github.com/repos/moose/MooseX-Getopt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moose/MooseX-Getopt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moose/MooseX-Getopt/teams","hooks_url":"https://api.github.com/repos/moose/MooseX-Getopt/hooks","issue_events_url":"https://api.github.com/repos/moose/MooseX-Getopt/issues/events{/number}","events_url":"https://api.github.com/repos/moose/MooseX-Getopt/events","assignees_url":"https://api.github.com/repos/moose/MooseX-Getopt/assignees{/user}","branches_url":"https://api.github.com/repos/moose/MooseX-Getopt/branches{/branch}","tags_url":"https://api.github.com/repos/moose/MooseX-Getopt/tags","blobs_url":"https://api.github.com/repos/moose/MooseX-Getopt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moose/MooseX-Getopt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moose/MooseX-Getopt/git/refs{/sha}","trees_url":"https://api.github.com/repos/moose/MooseX-Getopt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moose/MooseX-Getopt/statuses/{sha}","languages_url":"https://api.github.com/repos/moose/MooseX-Getopt/languages","stargazers_url":"https://api.github.com/repos/moose/MooseX-Getopt/stargazers","contributors_url":"https://api.github.com/repos/moose/MooseX-Getopt/contributors","subscribers_url":"https://api.github.com/repos/moose/MooseX-Getopt/subscribers","subscription_url":"https://api.github.com/repos/moose/MooseX-Getopt/subscription","commits_url":"https://api.github.com/repos/moose/MooseX-Getopt/commits{/sha}","git_commits_url":"https://api.github.com/repos/moose/MooseX-Getopt/git/commits{/sha}","comments_url":"https://api.github.com/repos/moose/MooseX-Getopt/comments{/number}","issue_comment_url":"https://api.github.com/repos/moose/MooseX-Getopt/issues/comments{/number}","contents_url":"https://api.github.com/repos/moose/MooseX-Getopt/contents/{+path}","compare_url":"https://api.github.com/repos/moose/MooseX-Getopt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moose/MooseX-Getopt/merges","archive_url":"https://api.github.com/repos/moose/MooseX-Getopt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moose/MooseX-Getopt/downloads","issues_url":"https://api.github.com/repos/moose/MooseX-Getopt/issues{/number}","pulls_url":"https://api.github.com/repos/moose/MooseX-Getopt/pulls{/number}","milestones_url":"https://api.github.com/repos/moose/MooseX-Getopt/milestones{/number}","notifications_url":"https://api.github.com/repos/moose/MooseX-Getopt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moose/MooseX-Getopt/labels{/name}","releases_url":"https://api.github.com/repos/moose/MooseX-Getopt/releases{/id}","deployments_url":"https://api.github.com/repos/moose/MooseX-Getopt/deployments","created_at":"2013-09-07T18:05:58Z","updated_at":"2016-04-22T11:28:19Z","pushed_at":"2016-05-10T20:30:20Z","git_url":"git://github.com/moose/MooseX-Getopt.git","ssh_url":"git@github.com:moose/MooseX-Getopt.git","clone_url":"https://github.com/moose/MooseX-Getopt.git","svn_url":"https://github.com/moose/MooseX-Getopt","homepage":"http://metacpan.org/release/MooseX-Getopt/","size":334,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":0,"forks":6,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moose/MooseX-Getopt/pulls/7"},"html":{"href":"https://github.com/moose/MooseX-Getopt/pull/7"},"issue":{"href":"https://api.github.com/repos/moose/MooseX-Getopt/issues/7"},"comments":{"href":"https://api.github.com/repos/moose/MooseX-Getopt/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/moose/MooseX-Getopt/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/moose/MooseX-Getopt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moose/MooseX-Getopt/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/moose/MooseX-Getopt/statuses/3975715513d14ab0b712a9417db477ebed6d08bd"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":4,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":3}}