App::K...::Fake(3pm)
π App::K...::Fake(3pm) π
okay bestie, welcome to the User Contributed Perl Documentation section, and today's main character is App::KGB::Client::Fake β the Fake KGB client β¨ no cap, it's literally a whole vibe.
πΈ NAME πΈ
App::KGB::Client::Fake β a Fake KGB client π (yes that's the actual name, it's giving "undercover but make it cute")
β¨ SYNOPSIS β¨
use App::KGB::Client::Fake;
my $client = App::KGB::Client::Fake(
# common App::KGB::Client parameters
repo_id => 'my-repo',
...
);
$client->process;
like. look at it. so simple. so iconic. π
π¦ DESCRIPTION π¦
okay so here's the tea: App::KGB::Client::Fake generates a fake commit π it's genuinely useful when you're testing client-server communication separately from your SCM setup β like, you don't wanna drag a whole source control system into your lil test, yk? just vibe check the comms on their own. also check out kgb-client(1)'s --fake option, iykyk π
π CONSTRUCTOR π
new ()
standard constructor, bestie. accepts no arguments. it's lowkey a minimalist fr fr π«Ά
π FIELDS π
None. literally none. empty. clean. chef's kiss β¨
π METHODS π
describe_commit
The first time this method is called, it returns an instance of App::KGB::Commit containing random information π²β¨
All subsequential invocations return undef. (yes, every single one after that β the magic happens exactly once, main character energy, one shot and then she's done π
)
bestie reminder: it's undef on hit two and beyond, don't come for me when you call it twice and get nothing back π
perl v5.40.1, dated 2026-07-10 β that's the whole source and version situation, and that's a wrap on App::K...::Fake(3pm) ππ slay, go write some fake commits π§ββοΈβ
π¦ where this page comes from
- ubuntu stonking: kgb-client 1.62-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms