Help for this page

Select Code to Download


  1. or download this
    ServerRoot "d:/wamp/apache2"
    Timeout 300
    
    ...
        Allow from all
    </Directory>
    
  2. or download this
    security = user
    workgroup = WORKGROUP
    
    ...
        available = yes
        public = no
    
  3. or download this
    ---
    name: ingy
    age: old
    ...
        - green
        - blue
    
  4. or download this
    use CFI;
    
    # OBJECT = new( FORMAT );
    ...
    my $config_inifiles = new CFI('inifiles');
    my $config_yaml = new CFI('yaml');
    
  5. or download this
    # BOOLEAN = ->read_config( SOURCE, OPTIONS );
    #   SOURCE  - scalar containing filename, scalar ref containing file c
    +ontents, or filehandle to read from
    #   OPTIONS - hash reference containing any driver-specific options
    ...
    $config_general->write(\*CONFIG_OUTPUT);
    $config_yaml->write('~/test.yml');
    
  6. or download this
    # VALUE   = ->param( BLOCKS, FIELD );
    #   BLOCKS - name(s) of any number of logical blocks (or a single unde
    +f to use default (root) block)
    #   FIELD  - name of field to retrieve (or undef to retrieve all field
    +names in given block)
    ...
    
    $config_general->import( $config_yaml->export() );