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