{"issue":{"state":"open","created_at":"2011-11-22T09:48:02Z","updated_at":"2011-11-22T10:08:42Z","comments":1,"user":{"gravatar_id":"e55e0ec3c00f834d78fbdddeaa36e308","id":25888,"url":"https://api.github.com/users/schwern","login":"schwern","avatar_url":"https://secure.gravatar.com/avatar/e55e0ec3c00f834d78fbdddeaa36e308?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"See https://rt.cpan.org/Ticket/Display.html?id=67538#txn-1002509\r\n\r\nThis effects Test::Builder1.5 and 0.98_01.","assignee":null,"id":2316109,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":234,"labels":[{"name":"Blocking Stable","color":"ed0c0c","url":"https://api.github.com/repos/schwern/test-more/labels/Blocking+Stable"},{"name":"Bug","color":"f70525","url":"https://api.github.com/repos/schwern/test-more/labels/Bug"}],"title":"Pragmas are leaking out of `use_ok`","html_url":"https://github.com/schwern/test-more/issues/234","closed_at":null,"url":"https://api.github.com/repos/schwern/test-more/issues/234","milestone":{"state":"open","created_at":"2011-11-22T09:02:02Z","closed_issues":0,"due_on":null,"creator":{"gravatar_id":"e55e0ec3c00f834d78fbdddeaa36e308","id":25888,"url":"https://api.github.com/users/schwern","login":"schwern","avatar_url":"https://secure.gravatar.com/avatar/e55e0ec3c00f834d78fbdddeaa36e308?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":6,"description":"What has to be done before we can make a stable release.","title":"Test::Builder1.5 stable release","open_issues":28,"url":"https://api.github.com/repos/schwern/test-more/milestones/6"}},"action":"created","comment":{"created_at":"2011-11-22T10:08:42Z","updated_at":"2011-11-22T10:08:42Z","user":{"gravatar_id":"7f633daa0796788b31b868b5ffe98157","id":24634,"url":"https://api.github.com/users/Ovid","login":"Ovid","avatar_url":"https://secure.gravatar.com/avatar/7f633daa0796788b31b868b5ffe98157?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"----- Original Message -----\n\n> From: Michael G. Schwern <reply@reply.github.com>\n\n\n> Subject: [test-more] Pragmas are leaking out of `use_ok` (#234)\n> \n> See https://rt.cpan.org/Ticket/Display.html?id=67538#txn-1002509\n> \n> This effects Test::Builder1.5 and 0.98_01.\n\n\nWhy not deprecate use_ok and require_ok?\n\nhttp://use.perl.org/~Ovid/journal/39859\n\nIn fact, when I've suggested it before, I've not encountered strong opposition: http://www.mail-archive.com/perl-qa@perl.org/msg12173.html\n\nuse_ok() and require_ok() are symptomatic of an awful anti-pattern which has crept into Perl code and this is as fine a time as any to admit that they're a bad idea. use_ok, for example, needs this to even have a hope of working correctly:\n\n    BEGIN { use_ok $some_module or die }\n\nAnd even that's not perfect.\n\nCheers,\nOvid\n\n--\nLive and work overseas - http://overseas-exile.blogspot.com/\nBuy the book - http://www.oreilly.com/catalog/perlhks/\nTech blog - http://blogs.perl.org/users/ovid/\nTwitter - http://twitter.com/OvidPerl/\n","id":2832559,"url":"https://api.github.com/repos/schwern/test-more/issues/comments/2832559"}}