Zonema...Methods(3pm)
π NAME
Zonemaster::Engine::TestMethods β the methods that literally every Test Specification test module shares, fr fr
β¨ SYNOPSIS β¨
my @results = Zonemaster::Engine::TestMethods->method1($zone);
π METHODS π
okay bestie, quick heads up before we dive in: for the actual deets on what each of these methods implements, go read the test specification documents. this page is just the vibes + the return types. π«Ά
method1($zone)β hands you back either aZonemaster::Engine::Zone, orundefif it's feeling mysterious. πmethod2($zone)β returns an arrayref full ofZonemaster::Engine::DNSNameobjects. so many of them. iconic. πmethod3($zone)β also returns an arrayref ofZonemaster::Engine::DNSNameobjects. yes, we have two. no, we're not going to explain why here. (the test spec knows. iykyk.) β¨method4($zone)β returns something that behaves like an arrayref ofZonemaster::Engine::Nameserverobjects. it's giving arrayref energy without committing to actually being one. π¦method5($zone)β same situation: returns something that behaves like an arrayref ofZonemaster::Engine::Nameserverobjects. π¦method2and3($zone)β the friendship reunion!! returns the union of theZonemaster::Engine::DNSNameobjects you get frommethod2($zone)andmethod3($zone), all wrapped up in an arrayref. and the elements are sorted according to their string representation, because we are organized and we are unbothered. πΈmethod4and5($zone)β the other friendship reunion!! returns the union of theZonemaster::Engine::Nameserverobjects frommethod4($zone)andmethod5($zone), as an arrayref. elements sorted according to their string representation, same as above. consistency is the moment. π
π lowkey important:method4andmethod5say "behaves like" an arrayref, not "is" an arrayref. don't get caught out there treating them like something they didn't promise to be.
aaaand that's the whole page bestie π this was perl v5.40.1, dated 2026-03-21, and it lives under the name Zonema...Methods(3pm) β mwah, bye π β¨
π¦ where this page comes from
- ubuntu stonking: libzonemaster-perl 8.001.001-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms