Wallet...anford(3pm)

πŸ“¦ version 1.7, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– Wallet::Policy::Stanford β€” the 3pm girlies' manual πŸ’–

okay so bestie, this is the User Contributed Perl Documentation page for Wallet::Policy::Stanford, and it's literally just Stanford's wallet naming and ownership policy but as code. come sit with me, we're doing this together 🫢


✨ NAME ✨

Wallet::Policy::Stanford β€” it's giving Stanford's wallet naming and ownership policy πŸŽ€


🌸 SYNOPSIS 🌸

here's the vibe, copy-paste it exactly, no cap:

use Wallet::Policy::Stanford;
my ($type, $name, $user) = @_;

my $error = valid_name($type, $name, $user);
my ($name, @acl) = default_owner($type, $name);

πŸ¦‹ DESCRIPTION πŸ¦‹

so Wallet::Policy::Stanford implements Stanford's wallet naming and ownership policy β€” exactly the way it's described in docs/stanford-naming in the wallet distribution. it's primarily meant to be an example for other sites (like, a little show-and-tell moment πŸ’…), but Stanford itself actually uses it to implement that policy. iconic behavior honestly.

this module provides the default_owner() and verify_name() functions, which are part of the wallet configuration interface (as documented over in Wallet::Config). you can import them straight into a wallet configuration file from this module, or you can wrap them up to apply extra rules of your own. your config, your rules, main character energy πŸ‘‘


πŸ‘‘ SEE ALSO πŸ‘‘


πŸŽ€ AUTHOR πŸŽ€

Russ Allbery <eagle@eyrie.org> β€” king behavior, we love to see it πŸ’œ


and that's the whole page bestie, no skips, we read every line together πŸ’– this one was shipped with perl v5.40.0 and dated 2024-11-12, so go forth and name your wallets correctly, periodt βœ¨πŸ¦‹

πŸ“¦ where this page comes from