Metaba...Profile(3pm)
π Metaba...Profile(3pm) π
okay bestie, welcome to the User Contributed Perl Documentation section, where we're talking about Metaba...Profile β that's the page you're on rn, no cap. grab a boba, we're doing this π
β¨ NAME β¨
Metabase::User::Profile β a Metabase report class for all the user-related facts, periodt π«Ά
πΈ VERSION πΈ
version 0.025 β yes it's giving vintage, it's fine, she's iconic
π¦ SYNOPSIS π¦
here's the vibe in one glance:
use Metabase::User::Profile;
my $profile = Metabase::User::Profile->create(
full_name => 'John Doe',
email_address => 'jdoe@example.com',
);
π DESCRIPTION π
so basically, it's a Metabase report class that wraps up Facts about a metabase user. that's the whole gig. she contains user lore β¨
π USAGE π
the short way π
just yeet it into existence:
my $profile = Metabase::User::Profile->create(
full_name => 'John Doe',
email_address => 'jdoe@example.com',
);
the long way π’
for when you want the whole ritual, main character energy only:
my $profile = Metabase::User::Profile->open(
resource => 'metabase:user:b66c7662-1d34-11de-a668-0df08d1878c0'
creator => 'metabase:user:b66c7662-1d34-11de-a668-0df08d1878c0'
);
$profile->add( 'Metabase::User::EmailAddress' => 'jdoe@example.com' );
$profile->add( 'Metabase::User::FullName' => 'John Doe' );
$profile->close;
π METHODS π
create π£
my $new_profile = Metabase::User::Profile->create(%arg);
this method makes a brand-new user profile object out of the parameters you hand it. literally birthing a profile, slay.
valid parameters include:
full_nameβ the user's full nameemail_addressβ the user's email address
load π
my $profile = Metabase::User::Profile->load($filename);
this one loads a profile off your disk and hands it right back to you. so convenient π
save πΎ
$profile->save($filename);
this method writes the profile out to a file. if the file can't be written, an exception is raised β so heads up, bestie, it will NOT be quiet about it. and if the save works out? a true value comes back to you. success vibes π
π BUGS π
pls pls pls report any bugs or features using the CPAN Request Tracker. bugs can be submitted through the web interface at:
<http://rt.cpan.org/Dist/Display.html?Queue=Metabase-Fact>
and when you do submit a bug or a request, include a test-file or a patch to an existing test-file that shows off the bug or the feature you want. receipts, basically. show us the problem π
π AUTHORS π
- David Golden
<dagolden@cpan.org> - Ricardo Signes
<rjbs@cpan.org> - H.Merijn Brand
<hmbrand@cpan.org>
β COPYRIGHT AND LICENSE β
this software is Copyright (c) 2016 by David Golden.
this is free software, licensed under:
The Apache License, Version 2.0, January 2004
and that's the whole page, bestie π«Ά tysm for reading all the way to the end, you ate that fr fr. this lil masterpiece was served up by perl v5.36.0 on 2022-10-14, and the page you just devoured is Metaba...Profile(3pm) πβ¨ stay slaying, iykyk π§
π¦ where this page comes from
- ubuntu noble: libmetabase-fact-perl 0.025-4 Β· Apache-2.0
- ubuntu resolute: libmetabase-fact-perl 0.025-4 Β· Apache-2.0
- ubuntu stonking: libmetabase-fact-perl 0.025-4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms