Zonema...::Cache(3pm)

πŸ“¦ version 1.0.16, in ubuntu jammy

πŸ’– Zonemaster::Nameserver::Cache πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation for Zonemaster::Nameserver::Cache, and it's giving "shared caches for nameserver objects" ✨. That's the whole vibe. She's a little helper class that holds onto stuff so your nameserver objects don't have to keep re-asking. Queen behavior, honestly. πŸ‘‘


🌸 NAME 🌸

Zonemaster::Nameserver::Cache β€” shared caches for nameserver objects 🫢

no cap, that's literally it. she caches. she shares. she serves. πŸ’…


✨ SYNOPSIS ✨

    This class should not be used directly.

okay so real talk β€” do not try to use this class directly, bestie. it's not for you, it's for the library. like, this is backstage. you do not have a pass. πŸ™ˆ


πŸŽ€ ATTRIBUTES πŸŽ€

  • address β€” a Zonemaster::Net::IP object holding the nameserver's address. that's her location, her coordinates, where she lives. πŸ“
  • data β€” a reference to a hash holding the cache of sent queries. this is the good stuff, the actual receipts of everything that's been asked. but heads up: it is not meant for external use. so like, look with your eyes, not with your hands. πŸ’€

πŸ‘‘ CLASS METHODS πŸ‘‘

  • empty_cache() β€” clear the cache. that's it, that's the whole method. wipe it. clean slate. main character reset energy. 🌈

lowkey important reminder: this whole thing is internal machinery. use the class through the library, not on your own. iykyk. πŸ”₯

and that's the page, bestie! πŸ’œ this doc was written against perl v5.32.0, dated 2021-01-06, and it came to you courtesy of the User Contributed Perl Documentation crew. slay, go forth, and never call the cache class directly. periodt. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from