Net::ACL::Bootstrap - A proxy/bootstrap class for the Net::ACL class
use Net::ACL::Bootstrap; # Constructor $list = renew Net::ACL::Bootstrap( Name => 'MyACL', Type => 'prefix-list', );
This module works as a wrapper/proxy/bootstrap for the Net::ACL class.
It makes it possible to renew() a list that has not yet been constructed using its name and type. The real list should be constructed before any method is used on this object (except name(), type() and fetch()).
$list = renew Net::ACL( Name => 'MyACL', Type => 'prefix-list', );
This is the only constructor for Net::ACL::Bootstrap class. The arguments are the same as the renew() constructor of the Net::ACL class.
It either returns an existing Net::ACL object matching the arguments or a reference to the newly created Net::ACL::Bootstrap object.
Forces the class to load the reference to the list or croak if that fails.
It is possible to query name and type data of the list, however, not to change them, unless the list is loaded. But only if the list can be loaded, change the name or type can be done.
All other methods are forwarded to the real Net::ACL object.
Martin Lorensen <firstname.lastname@example.org>