GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Config::AST::Follow(3) User Contributed Perl Documentation Config::AST::Follow(3)

Config::AST::Follow - direct addressing engine

This class implements direct node addressing in Config::AST. Objects of this class are created as

  $obj = Config::AST::Follow->new($node, $lexicon)

where $node is the start node, and $lexicon is the lexicon corresponding to that node. A Config::AST::Follow object transparently delegates its methods to the underlying $node, provided that such method is defined for $node. If it is not, it reproduces itself with the new $node, obtained as a result of the call to $node->subtree with the method name as its argument. If the result of the subtree call is a leaf node, it is returned verbatim. The lexicon hash is consulted to check if the requested node name is allowed or not. If it is not, croak is called. As a result, the following call:

  $obj->A->B->C

is equivalent to

  $node->getnode('X', 'Y', 'Z')

except that it will consult the lexicon to see if each name is allowed within a particular section.

Config::AST(3).
2019-11-19 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.