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
Apache::Config::Preproc::locus(3) User Contributed Perl Documentation Apache::Config::Preproc::locus(3)

Apache::Config::Preproc::locus - attach file location to each parse node

    $x = new Apache::Config::Preproc '/path/to/httpd.conf',
                -expand => [ qw(locus) ];

    foreach ($x->select) {
        print $_->locus
    }

Locus attaches to each node in the parse tree a Text::Locus object which describes the location of the corresponding statement in the source file. The location of a node can be accessed via the locus method as illustrated in the synopsis.

Technically speaking, this module replaces each instance of Apache::Admin::Config::Tree in the parse tree with an instance of its derived class Apache::Config::Preproc::locus::node, which provides the locus accessor.

Apache::Config::Preproc

Text::Locus

2020-04-01 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.