{"action":"created","issue":{"url":"https://api.github.com/repos/matteocorti/check_rbl/issues/4","labels_url":"https://api.github.com/repos/matteocorti/check_rbl/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/matteocorti/check_rbl/issues/4/comments","events_url":"https://api.github.com/repos/matteocorti/check_rbl/issues/4/events","html_url":"https://github.com/matteocorti/check_rbl/issues/4","id":117630419,"number":4,"title":"\"Not a GLOB reference\" error after p5-Net-DNS update","user":{"login":"adam12b1","id":15911430,"avatar_url":"https://avatars.githubusercontent.com/u/15911430?v=3","gravatar_id":"","url":"https://api.github.com/users/adam12b1","html_url":"https://github.com/adam12b1","followers_url":"https://api.github.com/users/adam12b1/followers","following_url":"https://api.github.com/users/adam12b1/following{/other_user}","gists_url":"https://api.github.com/users/adam12b1/gists{/gist_id}","starred_url":"https://api.github.com/users/adam12b1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam12b1/subscriptions","organizations_url":"https://api.github.com/users/adam12b1/orgs","repos_url":"https://api.github.com/users/adam12b1/repos","events_url":"https://api.github.com/users/adam12b1/events{/privacy}","received_events_url":"https://api.github.com/users/adam12b1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-18T16:53:22Z","updated_at":"2015-11-21T17:09:44Z","closed_at":null,"body":"We've been using check_rbl happily for years, but after a minor update to other software including p5-Net-DNS (from 1.02 to 1.03), suddenly it threw this error:\r\n\r\n   Not a GLOB reference at /usr/local/lib/perl5/5.20/mach/IO/Select.pm line 61.\r\n\r\nI finally managed to fix it by editing line 61 in Select.pm, changing:\r\n   $f = $f->[0] if ref($f) eq 'ARRAY';\r\nto:\r\n   $f = $f->[0];\r\nbut I don't actually understand this fix at all - just a lucky guess. :)\r\n\r\nCommand: \"/usr/local/libexec/nagios/check_rbl --extra-opts=rbl@/usr/local/ee/check_rbl.ini -t 120 -H web.electricembers.net\"\r\n\r\nSystem: FreeBSD 10.1, Perl 5.20.3_8, check_rbl 1.3.0 or 1.3.7 (same issue with either version)\r\n\r\nI don't know if this is a bug in Select.pm, or in p5-Net-DNS, or in check_rbl, or something else, but I'm hoping you will know better and be able to suggest or provide a more sustainable fix. (FYI I also had a lot of trouble managing the switch to requiring monitoring-plugins in check_rbl 1.3.7, because the Nagios package itself still requires nagios-plugins and the ports system won't install both at the same time because of overlapping files... but this is a separate issue, sorry.)\r\n\r\nHope you can help. Thanks!"},"comment":{"url":"https://api.github.com/repos/matteocorti/check_rbl/issues/comments/158662628","html_url":"https://github.com/matteocorti/check_rbl/issues/4#issuecomment-158662628","issue_url":"https://api.github.com/repos/matteocorti/check_rbl/issues/4","id":158662628,"user":{"login":"matteocorti","id":6011536,"avatar_url":"https://avatars.githubusercontent.com/u/6011536?v=3","gravatar_id":"","url":"https://api.github.com/users/matteocorti","html_url":"https://github.com/matteocorti","followers_url":"https://api.github.com/users/matteocorti/followers","following_url":"https://api.github.com/users/matteocorti/following{/other_user}","gists_url":"https://api.github.com/users/matteocorti/gists{/gist_id}","starred_url":"https://api.github.com/users/matteocorti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matteocorti/subscriptions","organizations_url":"https://api.github.com/users/matteocorti/orgs","repos_url":"https://api.github.com/users/matteocorti/repos","events_url":"https://api.github.com/users/matteocorti/events{/privacy}","received_events_url":"https://api.github.com/users/matteocorti/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T17:09:44Z","updated_at":"2015-11-21T17:09:44Z","body":"I can confirm the problem with Perl 5.22 and Net::DNS 1.03. I do not know yet if I have an error in my code (which is only exposed with this version) or if there is a bug in Perl or the Net::DNS module.\r\n\r\nSee http://stackoverflow.com/questions/33846179/not-a-glob-reference-at-io-select-pm-line-61"}}