Debbug...ipients(3pm)

🌸 NAME 🌸

okay bestie, welcome to Debbugs::Recipients(3pm) β€” this is the User Contributed Perl Documentation page for the module whose whole entire job is: Determine recipients of messages from the bts. that's it, that's the arc. ✨


πŸŽ€ SYNOPSIS πŸŽ€

ngl bestie, the original page leaves this section empty. nothing here. it's giving mysterious main character energy. moving on. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

also empty in the original, bestie!! iconic of it honestly. the real tea is lower down. 🫢

πŸ’€ BUGS πŸ’€

None known.

😌 okay so we don't know of any bugs. slay. (this is the section the next two function writeups live under, in case you were wondering why the vibes shift mid-page β€” iykyk.)


add_recipients ✨

add_recipients(data => $data,
               recipients => \%recipients;
              );

so you hand it some data (from read_bug or similar β€” or an arrayref of data, flexible queen πŸ’–) and it calculates the addresses that need to receive mail involving this bug. that's the whole assignment and it ate.

  • data β€” Data from read_bug or similar; can be an arrayref of data
  • recipients β€” hashref of recipient data structure; pass to subsequent calls of add_recipients or
  • debug β€” optional

determine_recipients 🧚

my @recipients = determine_recipients(recipients => \%recipients,
                                      bcc => 1,
                                     );
my %recipients => determine_recipients(recipients => \%recipients,);

# or a crazy example:
send_mail_message(message => $message,
                  recipients =>
                   [make_list(
                     values %{{determine_recipients(
                           recipients => \%recipients)
                             }})
                   ],
                 );

Using the recipient hashref, determines the set of recipients. fr fr, that's the move. πŸ‘‘

If you specify one of bcc, cc, or to, you will receive only a LIST of recipients which the main should be Bcc'ed, Cc'ed, or To'ed respectively. By default, a LIST with keys bcc, cc, and to is returned with ARRAYREF values corresponding to the users to whom a message should be sent.

  • address_only β€” whether to only return mail addresses without reasons or realnamesq
🚨 fatal error alert 🚨 bestie do NOT pass more than one of bcc, cc or to. Passing more than one of bcc, cc or to is a fatal error. that's the whole warning, periodt.

πŸ”’ PRIVATE FUNCTIONS πŸ”’

_add_address πŸ™ˆ

_add_address(recipients => $param{recipients},
             address => $addmaint,
             reason => $param{data}{package},
             bug_num => $param{data}{bug_num},
             type  => 'cc',
            );

that underscore up front? yeah β€” private function behavior, it's not for you, it's for the module's own internal business. 🌈


and that's the whole page, bestie!! no cap, you now know everything this manpage knows. πŸ’œ

sign-off time: this was perl v5.40.1, dated 2026-04-27, and it's the Debbugs::Recipients(3pm) page all wrapped up. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from