Octopussy::Contact(3)

πŸ“¦ version 1.0.6, in ubuntu jammy

✨ Octopussy::Contact ✨

okay bestie so this is Octopussy::Contact, the Contact module from Octopussy πŸ’– it's the part of the Octopussy::Contact(3) manual (perl-flavoured, obviously) that handles contacts β€” making them, yeeting them, listing them, reading their configs. it's giving very "small module, big responsibilities" energy πŸŽ€


🌸 FUNCTIONS 🌸

πŸ’… New(%conf)

spawn a brand new contact, fresh out the box ✨

Parameters:

  • \%conf β€” hashref of the new contact configuration 🫢

πŸ¦‹ Remove($contact)

remove the contact '$contact' β€” like, gone gone πŸ’€

Parameters:

  • $contact β€” Name of the contact to remove

⭐ List()

get the whole list of contacts, no cap

Returns:

  • @contacts β€” Array of contact names

πŸŽ€ Filename($contact)

get the XML filename for the contact '$contact' πŸ—‚οΈ

Parameters:

  • $contact β€” Name of the contact

Returns:

  • $filename β€” Filename of the XML file for contact '$contact'

πŸ’œ Configuration($contact)

get the configuration for the contact '$contact' β€” the whole vibe, documented

Parameters:

  • $contact β€” Name of the contact

Returns:

  • \%conf β€” Hashref of the contact configuration

🌈 Configurations($sort)

get the configuration for all the contacts at once, main character energy

Parameters:

  • $sort β€” selected field to sort configurations

Returns:

  • @configurations β€” Array of Hashref contact configurations

πŸ”₯ Reload_Sender_Configuration()

sends a 'HUP' signal to octo_sender so it reloads its Contacts configuration πŸ‘‘ that's it, that's the function, iconic behavior honestly


πŸ’– AUTHOR πŸ’–

Sebastien Thebert <octo.devel@gmail.com> β€” the legend behind it all 🫢


and that's the whole page, bestie ✨ this was perl v5.22.2 business, dated 2016-05-04, straight from the Octopussy::Contact(3) manual. periodt πŸ’…

πŸ“¦ where this page comes from