CPANPL...::Fake(3pm)
β¨ CPANPL...::Fake π
okay bestie, you found the fake one. not fake as in "not real tea", fake as in dummy author objects. welcome to CPANPLUS::Module::Author::Fake (3pm), the little gremlin class that CPANPLUS keeps in its back pocket. π«Ά
π NAME π
CPANPLUS::Module::Author::Fake β dummy author object for CPANPLUS. no cap, that's literally the whole name. it's giving "stand-in", it's giving "understudy who ate". π
πΈ SYNOPSIS πΈ
look at her. so demure. so mindful.
my $auth = CPANPLUS::Module::Author::Fake->new(
author => 'Foo Bar',
email => 'luser@foo.com',
cpanid => 'FOO',
_id => $cpan->id,
);
π DESCRIPTION π
so this is a class for creating fake author objects, used as a shortcut internally by CPANPLUS. that's the whole vibe β CPANPLUS needed an author-shaped thing and didn't wanna go through the whole rigmarole, so boom, fake one, instant, slay. β¨
it inherits from CPANPLUS::Module::Author, so all that parent energy comes along for free. π¦
π§ METHODS π§
π new( _id => DIGIT )
creates a dummy author object, periodt. π
it can take the same options as CPANPLUS::Module::Author->new, but it will fill in default ones if none are provided β so if you're out here being lazy, she's got you. only the _id key is required. everything else? optional, bestie. the rest of the keys are just along for the ride. π
π«§ tiny vibe check: only _id is mandatory. don't come for me if you skip it, that's on you, not me. π
and that's the page!! this is from perl v5.40.1, dated 2025-03-01, user contributed perl documentation, and honestly? iconic of her. mwah. π π
π¦ where this page comes from
- debian trixie: libcpanplus-perl 0.9916-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcpanplus-perl 0.9916-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcpanplus-perl 0.9916-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