Octopussy::Contact(3)
β¨ 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
- ubuntu jammy: octopussy 1.0.6-0ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms