GitHub PullRequestReviewCommentEvent at 2014-09-11 13:46:48
Repository: Perl-Training
Actor: dickyince
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls/comments/17420821","id":17420821,"diff_hunk":"@@ -0,0 +1,29 @@\n+#!/usr/bin/perl\n+\n+use strict;\n+use warnings;\n+\n+if ( !scalar( @ARGV ) ) {\n+  die \"Usage: $0 <a bunch of files>\\n\";\n+}\n+\n+my @files; # array for the files of interest\n+\n+foreach my $file ( @ARGV ) {\n+\n+  # Ignore files that don't exist\n+  if ( !-e $file ) {\n+    next;\n+  }\n+\n+  if ( -r -w -o $file ) {","path":"chapter12/ajd/exercise3.pl","position":19,"original_position":19,"commit_id":"10e75468f6df20783a25f2b5720af43383d8d9da","original_commit_id":"10e75468f6df20783a25f2b5720af43383d8d9da","user":{"login":"dickyince","id":1965885,"avatar_url":"https://avatars.githubusercontent.com/u/1965885?v=2","gravatar_id":"f766a784df392c22199c588e4c8d51f9","url":"https://api.github.com/users/dickyince","html_url":"https://github.com/dickyince","followers_url":"https://api.github.com/users/dickyince/followers","following_url":"https://api.github.com/users/dickyince/following{/other_user}","gists_url":"https://api.github.com/users/dickyince/gists{/gist_id}","starred_url":"https://api.github.com/users/dickyince/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dickyince/subscriptions","organizations_url":"https://api.github.com/users/dickyince/orgs","repos_url":"https://api.github.com/users/dickyince/repos","events_url":"https://api.github.com/users/dickyince/events{/privacy}","received_events_url":"https://api.github.com/users/dickyince/received_events","type":"User","site_admin":false},"body":"stacked as it should be","created_at":"2014-09-11T13:46:48Z","updated_at":"2014-09-11T13:46:48Z","html_url":"https://github.com/SandyThomson/Perl-Training/pull/72#discussion_r17420821","pull_request_url":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls/comments/17420821"},"html":{"href":"https://github.com/SandyThomson/Perl-Training/pull/72#discussion_r17420821"},"pull_request":{"href":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls/72","id":20797483,"html_url":"https://github.com/SandyThomson/Perl-Training/pull/72","diff_url":"https://github.com/SandyThomson/Perl-Training/pull/72.diff","patch_url":"https://github.com/SandyThomson/Perl-Training/pull/72.patch","issue_url":"https://api.github.com/repos/SandyThomson/Perl-Training/issues/72","number":72,"state":"open","locked":false,"title":"Ajd chapter12","user":{"login":"alexdeas","id":154288,"avatar_url":"https://avatars.githubusercontent.com/u/154288?v=2","gravatar_id":"1ce5d558e698cface433c258eca5dd56","url":"https://api.github.com/users/alexdeas","html_url":"https://github.com/alexdeas","followers_url":"https://api.github.com/users/alexdeas/followers","following_url":"https://api.github.com/users/alexdeas/following{/other_user}","gists_url":"https://api.github.com/users/alexdeas/gists{/gist_id}","starred_url":"https://api.github.com/users/alexdeas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexdeas/subscriptions","organizations_url":"https://api.github.com/users/alexdeas/orgs","repos_url":"https://api.github.com/users/alexdeas/repos","events_url":"https://api.github.com/users/alexdeas/events{/privacy}","received_events_url":"https://api.github.com/users/alexdeas/received_events","type":"User","site_admin":false},"body":"Chapter 12","created_at":"2014-09-05T09:38:56Z","updated_at":"2014-09-11T13:46:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42946ba19efd1086e4aba1a5ce251f33dfee0ded","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls/72/commits","review_comments_url":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls/72/comments","review_comment_url":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls/comments/{number}","comments_url":"https://api.github.com/repos/SandyThomson/Perl-Training/issues/72/comments","statuses_url":"https://api.github.com/repos/SandyThomson/Perl-Training/statuses/10e75468f6df20783a25f2b5720af43383d8d9da","head":{"label":"SandyThomson:ajd_chapter12","ref":"ajd_chapter12","sha":"10e75468f6df20783a25f2b5720af43383d8d9da","user":{"login":"SandyThomson","id":7848639,"avatar_url":"https://avatars.githubusercontent.com/u/7848639?v=2","gravatar_id":"84cd01049ccc9c34b12919e305494a66","url":"https://api.github.com/users/SandyThomson","html_url":"https://github.com/SandyThomson","followers_url":"https://api.github.com/users/SandyThomson/followers","following_url":"https://api.github.com/users/SandyThomson/following{/other_user}","gists_url":"https://api.github.com/users/SandyThomson/gists{/gist_id}","starred_url":"https://api.github.com/users/SandyThomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SandyThomson/subscriptions","organizations_url":"https://api.github.com/users/SandyThomson/orgs","repos_url":"https://api.github.com/users/SandyThomson/repos","events_url":"https://api.github.com/users/SandyThomson/events{/privacy}","received_events_url":"https://api.github.com/users/SandyThomson/received_events","type":"User","site_admin":false},"repo":{"id":20683185,"name":"Perl-Training","full_name":"SandyThomson/Perl-Training","owner":{"login":"SandyThomson","id":7848639,"avatar_url":"https://avatars.githubusercontent.com/u/7848639?v=2","gravatar_id":"84cd01049ccc9c34b12919e305494a66","url":"https://api.github.com/users/SandyThomson","html_url":"https://github.com/SandyThomson","followers_url":"https://api.github.com/users/SandyThomson/followers","following_url":"https://api.github.com/users/SandyThomson/following{/other_user}","gists_url":"https://api.github.com/users/SandyThomson/gists{/gist_id}","starred_url":"https://api.github.com/users/SandyThomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SandyThomson/subscriptions","organizations_url":"https://api.github.com/users/SandyThomson/orgs","repos_url":"https://api.github.com/users/SandyThomson/repos","events_url":"https://api.github.com/users/SandyThomson/events{/privacy}","received_events_url":"https://api.github.com/users/SandyThomson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SandyThomson/Perl-Training","description":"Corresponds with the Learning Perl O'Reilly book","fork":false,"url":"https://api.github.com/repos/SandyThomson/Perl-Training","forks_url":"https://api.github.com/repos/SandyThomson/Perl-Training/forks","keys_url":"https://api.github.com/repos/SandyThomson/Perl-Training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SandyThomson/Perl-Training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SandyThomson/Perl-Training/teams","hooks_url":"https://api.github.com/repos/SandyThomson/Perl-Training/hooks","issue_events_url":"https://api.github.com/repos/SandyThomson/Perl-Training/issues/events{/number}","events_url":"https://api.github.com/repos/SandyThomson/Perl-Training/events","assignees_url":"https://api.github.com/repos/SandyThomson/Perl-Training/assignees{/user}","branches_url":"https://api.github.com/repos/SandyThomson/Perl-Training/branches{/branch}","tags_url":"https://api.github.com/repos/SandyThomson/Perl-Training/tags","blobs_url":"https://api.github.com/repos/SandyThomson/Perl-Training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SandyThomson/Perl-Training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SandyThomson/Perl-Training/git/refs{/sha}","trees_url":"https://api.github.com/repos/SandyThomson/Perl-Training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SandyThomson/Perl-Training/statuses/{sha}","languages_url":"https://api.github.com/repos/SandyThomson/Perl-Training/languages","stargazers_url":"https://api.github.com/repos/SandyThomson/Perl-Training/stargazers","contributors_url":"https://api.github.com/repos/SandyThomson/Perl-Training/contributors","subscribers_url":"https://api.github.com/repos/SandyThomson/Perl-Training/subscribers","subscription_url":"https://api.github.com/repos/SandyThomson/Perl-Training/subscription","commits_url":"https://api.github.com/repos/SandyThomson/Perl-Training/commits{/sha}","git_commits_url":"https://api.github.com/repos/SandyThomson/Perl-Training/git/commits{/sha}","comments_url":"https://api.github.com/repos/SandyThomson/Perl-Training/comments{/number}","issue_comment_url":"https://api.github.com/repos/SandyThomson/Perl-Training/issues/comments/{number}","contents_url":"https://api.github.com/repos/SandyThomson/Perl-Training/contents/{+path}","compare_url":"https://api.github.com/repos/SandyThomson/Perl-Training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SandyThomson/Perl-Training/merges","archive_url":"https://api.github.com/repos/SandyThomson/Perl-Training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SandyThomson/Perl-Training/downloads","issues_url":"https://api.github.com/repos/SandyThomson/Perl-Training/issues{/number}","pulls_url":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls{/number}","milestones_url":"https://api.github.com/repos/SandyThomson/Perl-Training/milestones{/number}","notifications_url":"https://api.github.com/repos/SandyThomson/Perl-Training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SandyThomson/Perl-Training/labels{/name}","releases_url":"https://api.github.com/repos/SandyThomson/Perl-Training/releases{/id}","created_at":"2014-06-10T11:45:33Z","updated_at":"2014-09-05T09:39:09Z","pushed_at":"2014-09-11T13:33:59Z","git_url":"git://github.com/SandyThomson/Perl-Training.git","ssh_url":"git@github.com:SandyThomson/Perl-Training.git","clone_url":"https://github.com/SandyThomson/Perl-Training.git","svn_url":"https://github.com/SandyThomson/Perl-Training","homepage":null,"size":3432,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"SandyThomson:master","ref":"master","sha":"0d0c87614b2dee30756c125b445b9a966d4f3754","user":{"login":"SandyThomson","id":7848639,"avatar_url":"https://avatars.githubusercontent.com/u/7848639?v=2","gravatar_id":"84cd01049ccc9c34b12919e305494a66","url":"https://api.github.com/users/SandyThomson","html_url":"https://github.com/SandyThomson","followers_url":"https://api.github.com/users/SandyThomson/followers","following_url":"https://api.github.com/users/SandyThomson/following{/other_user}","gists_url":"https://api.github.com/users/SandyThomson/gists{/gist_id}","starred_url":"https://api.github.com/users/SandyThomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SandyThomson/subscriptions","organizations_url":"https://api.github.com/users/SandyThomson/orgs","repos_url":"https://api.github.com/users/SandyThomson/repos","events_url":"https://api.github.com/users/SandyThomson/events{/privacy}","received_events_url":"https://api.github.com/users/SandyThomson/received_events","type":"User","site_admin":false},"repo":{"id":20683185,"name":"Perl-Training","full_name":"SandyThomson/Perl-Training","owner":{"login":"SandyThomson","id":7848639,"avatar_url":"https://avatars.githubusercontent.com/u/7848639?v=2","gravatar_id":"84cd01049ccc9c34b12919e305494a66","url":"https://api.github.com/users/SandyThomson","html_url":"https://github.com/SandyThomson","followers_url":"https://api.github.com/users/SandyThomson/followers","following_url":"https://api.github.com/users/SandyThomson/following{/other_user}","gists_url":"https://api.github.com/users/SandyThomson/gists{/gist_id}","starred_url":"https://api.github.com/users/SandyThomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SandyThomson/subscriptions","organizations_url":"https://api.github.com/users/SandyThomson/orgs","repos_url":"https://api.github.com/users/SandyThomson/repos","events_url":"https://api.github.com/users/SandyThomson/events{/privacy}","received_events_url":"https://api.github.com/users/SandyThomson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SandyThomson/Perl-Training","description":"Corresponds with the Learning Perl O'Reilly book","fork":false,"url":"https://api.github.com/repos/SandyThomson/Perl-Training","forks_url":"https://api.github.com/repos/SandyThomson/Perl-Training/forks","keys_url":"https://api.github.com/repos/SandyThomson/Perl-Training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SandyThomson/Perl-Training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SandyThomson/Perl-Training/teams","hooks_url":"https://api.github.com/repos/SandyThomson/Perl-Training/hooks","issue_events_url":"https://api.github.com/repos/SandyThomson/Perl-Training/issues/events{/number}","events_url":"https://api.github.com/repos/SandyThomson/Perl-Training/events","assignees_url":"https://api.github.com/repos/SandyThomson/Perl-Training/assignees{/user}","branches_url":"https://api.github.com/repos/SandyThomson/Perl-Training/branches{/branch}","tags_url":"https://api.github.com/repos/SandyThomson/Perl-Training/tags","blobs_url":"https://api.github.com/repos/SandyThomson/Perl-Training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SandyThomson/Perl-Training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SandyThomson/Perl-Training/git/refs{/sha}","trees_url":"https://api.github.com/repos/SandyThomson/Perl-Training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SandyThomson/Perl-Training/statuses/{sha}","languages_url":"https://api.github.com/repos/SandyThomson/Perl-Training/languages","stargazers_url":"https://api.github.com/repos/SandyThomson/Perl-Training/stargazers","contributors_url":"https://api.github.com/repos/SandyThomson/Perl-Training/contributors","subscribers_url":"https://api.github.com/repos/SandyThomson/Perl-Training/subscribers","subscription_url":"https://api.github.com/repos/SandyThomson/Perl-Training/subscription","commits_url":"https://api.github.com/repos/SandyThomson/Perl-Training/commits{/sha}","git_commits_url":"https://api.github.com/repos/SandyThomson/Perl-Training/git/commits{/sha}","comments_url":"https://api.github.com/repos/SandyThomson/Perl-Training/comments{/number}","issue_comment_url":"https://api.github.com/repos/SandyThomson/Perl-Training/issues/comments/{number}","contents_url":"https://api.github.com/repos/SandyThomson/Perl-Training/contents/{+path}","compare_url":"https://api.github.com/repos/SandyThomson/Perl-Training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SandyThomson/Perl-Training/merges","archive_url":"https://api.github.com/repos/SandyThomson/Perl-Training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SandyThomson/Perl-Training/downloads","issues_url":"https://api.github.com/repos/SandyThomson/Perl-Training/issues{/number}","pulls_url":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls{/number}","milestones_url":"https://api.github.com/repos/SandyThomson/Perl-Training/milestones{/number}","notifications_url":"https://api.github.com/repos/SandyThomson/Perl-Training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SandyThomson/Perl-Training/labels{/name}","releases_url":"https://api.github.com/repos/SandyThomson/Perl-Training/releases{/id}","created_at":"2014-06-10T11:45:33Z","updated_at":"2014-09-05T09:39:09Z","pushed_at":"2014-09-11T13:33:59Z","git_url":"git://github.com/SandyThomson/Perl-Training.git","ssh_url":"git@github.com:SandyThomson/Perl-Training.git","clone_url":"https://github.com/SandyThomson/Perl-Training.git","svn_url":"https://github.com/SandyThomson/Perl-Training","homepage":null,"size":3432,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls/72"},"html":{"href":"https://github.com/SandyThomson/Perl-Training/pull/72"},"issue":{"href":"https://api.github.com/repos/SandyThomson/Perl-Training/issues/72"},"comments":{"href":"https://api.github.com/repos/SandyThomson/Perl-Training/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/SandyThomson/Perl-Training/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/SandyThomson/Perl-Training/statuses/10e75468f6df20783a25f2b5720af43383d8d9da"}}}}