CPANPL...::Fake(3pm)
π CPANPL...::Fake(3pm) π
okay bestie so this is CPANPL...::Fake, from the User Contributed Perl Documentation girlies, and honestly? it's giving backstage pass. it's the fake module object the CPANPLUS internals use when they just need a stand-in and don't wanna do a whole thing about it. no cap.
β¨ NAME β¨
CPANPLUS::Module::Fake β the fake module object, strictly for internal use π«Ά
πΈ SYNOPSIS πΈ
my $obj = CPANPLUS::Module::Fake->new(
module => 'Foo',
path => 'ftp/path/to/foo',
author => CPANPLUS::Module::Author::Fake->new,
package => 'fake-1.1.tgz',
_id => $cpan->_id,
);
look at her. she's fake but she's serving. π
π¦ DESCRIPTION π¦
so basically this is the class for making fake module objects β little shortcut stand-ins that CPANPLUS uses internally when it doesn't need the real thing. lowkey iconic of her.
she inherits from CPANPLUS::Module. yes, the fake one still has the family name. it's giving nepo baby but make it functional. π
π METHODS π
π new( module => $mod, path => $path, package => $pkg, [_id => DIGIT] )
this makes you a dummy module object out of the parameters above. periodt.
it can also take more options β same ones as CPANPLUS::Module->new β but the ones listed up there? those are required, bestie. no skipping. π
so to recap, the required squad is:
modulepathpackage- and
_id(which shows up in brackets in the signature because it's the optional-looking one, but the description says the above are required β so read the docs, not the vibes π)
ngl, if you're out here trying to use CPANPLUS::Module::Fake in your own code: it's internal use only. it's not for you. she's booked. π§
and that's the whole page, bestie β this was CPANPL...::Fake(3pm) as documented in perl v5.40.1, dated 2025-03-01. go forth and fake it till you make it. 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