CPANPL...::Fake(3pm)

πŸ“¦
version 0.9916 Β· 5 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ 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