Zonemaster::Engine::NSArray - Class implementing arrays that lazily looks up name server addresses from their names
tie @ary, 'Zonemaster::Engine::NSArray', @ns_names
This class is used for the glue and ns attributes of the Zonemaster::Engine::Zone class. It is initially seeded with a list of names, which will be expanded into proper Zonemaster::Engine::Nameserver objects on demand. Be careful with using Perl functions that act on whole arrays (particularly foreach), since they will usually force the entire array to expand, negating the use of the lazy-loading.
glue
ns
foreach
These are all methods implementing the Perl tie interface. They have no independent use.
Calle Dybedahl, <calle at init.se>
<calle at init.se>
To install Zonemaster::Engine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zonemaster::Engine
CPAN shell
perl -MCPAN -e shell install Zonemaster::Engine
For more information on module installation, please visit the detailed CPAN module installation guide.