Pithub...mments(3pm)
π Pithub::Issues::Comments β bestie edition π
okay so real talk: this is Pithub::Issues::Comments, the Github v3 Issue Comments API wrapper, and it lives in the Pithub family. It's a Perl module, it's iconic, it's giving "I comment on issues for a living." Let's go π¦
β¨ VERSION β¨
This is version 0.01043. write it down bestie, versions matter.
πΈ METHODS πΈ
π create
- create a comment β literally making a whole new comment out of thin air, main character energy
POST /repos/:user/:repo/issues/:id/comments
Examples, verbatim, don't touch:
my $c = Pithub::Issues::Comments->new;
my $result = $c->create(
repo => 'Pithub',
user => 'plu',
issue_id => 1,
data => { body => 'some comment' }
);
π delete
- delete a comment β it's gone, no cap, not coming back π
DELETE /repos/:user/:repo/issues/comments/:id
Examples:
my $c = Pithub::Issues::Comments->new;
my $result = $c->delete(
repo => 'Pithub',
user => 'plu',
comment_id => 1,
);
π₯ get
- get a single comment β just the one, the one and only, obsessed
GET /repos/:user/:repo/issues/comments/:id
Examples:
my $c = Pithub::Issues::Comments->new;
my $result = $c->get(
repo => 'Pithub',
user => 'plu',
comment_id => 1,
);
π list
- list comments on an issue β the whole comment section, the group chat, the discourse
GET /repos/:user/:repo/issues/:id/comments
Examples:
my $c = Pithub::Issues::Comments->new;
my $result = $c->list(
repo => 'Pithub',
user => 'plu',
issue_id => 1,
);
β¨ update
- edit a comment β the "wait I need to rephrase that" moment, we've all been there
PATCH /repos/:user/:repo/issues/comments/:id
Examples:
my $c = Pithub::Issues::Comments->new;
my $result = $c->update(
repo => 'Pithub',
user => 'plu',
comment_id => 1,
data => { body => 'some comment' },
);
π AUTHOR π
Johannes Plunien <plu@cpan.org> β the legend, the blueprint, the moment π
π«Ά COPYRIGHT AND LICENSE π«Ά
This software is copyright (c) 2011 by Johannes Plunien.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay.
and that's the whole page bestie π generated with perl v5.40.1, dated 2025-06-08, from the one and only Pithub...mments(3pm). mwah, bye ππ¦β¨
π¦ where this page comes from
- debian trixie: libpithub-perl 0.01043-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libpithub-perl 0.01043-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libpithub-perl 0.01043-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms