Sympa::List::Users(3Sympa)

πŸ’– NAME πŸ’–

Sympa::List::Users β€” it's the module that handles List users, bestie. That's the whole vibe. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

Okay so here's how you actually use it, no cap:

use Sympa::List::Users;
my $config = Sympa::List::Users->new($list, {...});

my $errors = [];
my $validity = $config->submit({...}, $user, $errors);
$config->commit($errors);

my ($value) = $config->get('owner.0.gecos');
my @keys  = $config->keys('owner');

Like… look at that. She's building, she's submitting, she's committing, she's getting, she's keying. Main character energy fr fr. πŸ‘‘


🌸 DESCRIPTION 🌸

✨ Methods ✨

new ( $list, [ config => $initial_config ], [ copy => 1 ], [ no_family => 1 ] )

Constructor time, babes. This creates a brand-new instance of a Sympa::List::Users object. Fresh out the box, ready to slay. πŸŽ€

Parameters:

Also peep "new" in Sympa::Config for the full tea. πŸ‘€

  • $list β€” the context, queen. This is an instance of the Sympa::List class. She needs her surroundings, iykyk.
  • no_family => 1 β€” setting this means we won't apply the family constraint. By default tho? If the list belongs to a family, that constraint does get applied, periodt. More deets over at "Family constraint" in Sympa::List::Config.

get_schema ( [ $user ] )

Instance method, bestie. It grabs the configuration schema and hands it back as a hashref. If you wanna know how that schema is structured, go read Sympa::ListDef. πŸ’…

Parameter:

  • $user β€” the email address of a user. If you actually pass this in, it adds a 'privilege' attribute, and that attribute is taken straight from edit_list.conf(5) for that user. Cute, right? 🌸

πŸ’œ Attribute πŸ’œ

Go look at "Attribute" in Sympa::Config. That's where the goods are. πŸ™ˆ


🧚 Filters 🧚

TBD. β€” yeah bestie, it's to be determined. The mystery is the moment. 😭


⭐ Validations ⭐

TBD. β€” also to be determined. We simply don't know yet and we're at peace with it. ✨


🌈 SEE ALSO 🌈

  • Sympa::Config
  • Sympa::List::Config
  • Sympa::ListDef

Go read them, you won't regret it. 🫢


πŸ‘‘ HISTORY πŸ‘‘

Sympa::List::Users first appeared on Sympa 6.2.33b.2. A legend was born. πŸŽ‰


And that's the whole page, babe! This was sympa 6.2.80, dated 2026-10-19, and it's the Sympa::List::Users(3Sympa) manual. Stay hydrated, read your man pages, and go touch some config files πŸ’–πŸ¦‹βœ¨
πŸ“¦ where this page comes from