{"action":"created","issue":{"url":"https://api.github.com/repos/rurban/perl-compiler/issues/199","labels_url":"https://api.github.com/repos/rurban/perl-compiler/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/rurban/perl-compiler/issues/199/comments","events_url":"https://api.github.com/repos/rurban/perl-compiler/issues/199/events","html_url":"https://github.com/rurban/perl-compiler/issues/199","id":75430483,"number":199,"title":"B::C perl5.20.2 URI.pm problem","user":{"login":"sten22","id":11906463,"avatar_url":"https://avatars.githubusercontent.com/u/11906463?v=3","gravatar_id":"","url":"https://api.github.com/users/sten22","html_url":"https://github.com/sten22","followers_url":"https://api.github.com/users/sten22/followers","following_url":"https://api.github.com/users/sten22/following{/other_user}","gists_url":"https://api.github.com/users/sten22/gists{/gist_id}","starred_url":"https://api.github.com/users/sten22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sten22/subscriptions","organizations_url":"https://api.github.com/users/sten22/orgs","repos_url":"https://api.github.com/users/sten22/repos","events_url":"https://api.github.com/users/sten22/events{/privacy}","received_events_url":"https://api.github.com/users/sten22/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-12T02:26:24Z","updated_at":"2015-10-30T08:32:15Z","closed_at":null,"body":"## test script\r\n```\r\nuse strict; use warnings;\r\nuse URI;\r\n\r\n#preload modules\r\nuse URI::_generic;\r\nuse URI::_foreign;\r\nuse URI::http;\r\nuse URI::_server;\r\nuse Data::Dumper;\r\n\r\nmy $url = URI->new('http://127.0.0.1/path');\r\n\r\nmy $url2 = URI->new($url);\r\n\r\nwarn Dumper([$url, $url->path, $url2, $url2->path]);\r\n```\r\n## expected output\r\nalso same output using compiled version with 5.14.4\r\n```\r\n# perl uri.pl \r\n$VAR1 = [\r\n          bless( do{\\(my $o = 'http://127.0.0.1/path')}, 'URI::http' ),\r\n          '/path',\r\n          bless( do{\\(my $o = 'http://127.0.0.1/path')}, 'URI::http' ),\r\n          '/path'\r\n        ];\r\n```\r\n\r\n## compiled output using 5.20.2\r\n```\r\nbash-4.2# perlcc uri.pl\r\nbash-4.2# ./uri \r\n$VAR1 = [\r\n          bless( do{\\(my $o = 'http://127.0.0.1/path')}, 'URI::http' ),\r\n          '/path',\r\n          bless( do{\\(my $o = 'URI::http=SCALAR(0x949840)')}, 'URI::_foreign' ),\r\n          ':http=SCALAR(0x949840)'\r\n        ];\r\n```"},"comment":{"url":"https://api.github.com/repos/rurban/perl-compiler/issues/comments/152459658","html_url":"https://github.com/rurban/perl-compiler/issues/199#issuecomment-152459658","issue_url":"https://api.github.com/repos/rurban/perl-compiler/issues/199","id":152459658,"user":{"login":"rurban","id":41809,"avatar_url":"https://avatars.githubusercontent.com/u/41809?v=3","gravatar_id":"","url":"https://api.github.com/users/rurban","html_url":"https://github.com/rurban","followers_url":"https://api.github.com/users/rurban/followers","following_url":"https://api.github.com/users/rurban/following{/other_user}","gists_url":"https://api.github.com/users/rurban/gists{/gist_id}","starred_url":"https://api.github.com/users/rurban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rurban/subscriptions","organizations_url":"https://api.github.com/users/rurban/orgs","repos_url":"https://api.github.com/users/rurban/repos","events_url":"https://api.github.com/users/rurban/events{/privacy}","received_events_url":"https://api.github.com/users/rurban/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T08:32:15Z","updated_at":"2015-10-30T08:32:15Z","body":"Duplicate of GH #219, tracking it there."}}