in reply to Re: FEAR OF PERL
in thread FEAR OF PERL

thanks for your valuable words
but what do you think about road map for that or what i can do or read to support that needs ((i need perl in scripting to help me to write scripts to administarte linux ,, and to working with itis configuration files .))

Replies are listed 'Best First'.
Re^3: FEAR OF PERL
by mwah (Hermit) on Oct 14, 2007 at 12:36 UTC
      i had some problems and i posted all of it here like how to comment line in named.conf file and i felt my self dummy :S
      cuz of my frequently asked questions in the same thread
      but what i want to do is to managing linux and servers by perl like editing in itis configuration file
      like adding a domain in the named file and create the zone file in /var/named
      adding virual host to apache httpd.conf file
      and various type of linux administration

      thanks for your great support

        adding a domain in the named file and create the zone file in /var/named
        I'm not sure how sophisticated you are in
        administrating this stuff *at all* (without Perl).
        There is something out there that describes
        how to handle complicated things in the zone files,
        eg. Format of DNS files.

        Adding or modifying something depends IMHO entirely
        on the conventions already used on your server (what only you may know).
        adding virtual host to apache httpd.conf file
        This is the same like above. Normally, you won't "add"
        anything to "httpd.conf", but rather let include "httpd.conf"
        subdirectories containing configuration files, like this
        [httpd.conf] example piece:
        ...
        Include /etc/apache2/vhosts-batch-01/*.conf
        Include /etc/apache2/vhosts-batch-02/*.conf
        ...
        In these directories, you may provide specialized
        configuration files (xyz123.conf) for any http service you provide.
        In each directory you may have some "common.inc" file
        which gets included by each .conf in the respective directory

        But that's the Black Art of Apache Configuration and
        this hasn't very much to do with Perl in the first place.
        Once you are able to create a consistent multihost
        configuration at all, there should be no problem to
        write some Perl-Scripts that may manage them

        Regards

        mwa