Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Guidance on updating apache config files

by hippo (Canon)
on Mar 17, 2017 at 09:17 UTC ( #1184997=note: print w/replies, xml ) Need Help??


in reply to Guidance on updating apache config files

I'd be particularly interested to know if learning something like Template::Toolkit or other general purpose tools might allow me to intelligently handle updating config files in general.

Template Toolkit is precisely what I use when building Apache config files from within Perl. IMHO it is worth the (not inconsiderable) time required to learn it as it is so flexible you will subsequently find it useful for all manner of other scenarios.

Conversely for parsing the config files I recommend Apache::Admin::Config which seems to work reasonably well in most cases.

  • Comment on Re: Guidance on updating apache config files

Replies are listed 'Best First'.
Re^2: Guidance on updating apache config files
by nysus (Priest) on Mar 17, 2017 at 12:23 UTC

    Ok, thanks. That answers my questions perfectly. I was thinking about looking into Template::Toolkit but was worried about investing a lot of time learning something that ends up being unsuitable. I will go this route.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1184997]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2018-06-18 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (111 votes). Check out past polls.

    Notices?