- or download this
ServerRoot "d:/wamp/apache2"
Timeout 300
...
Allow from all
</Directory>
- or download this
security = user
workgroup = WORKGROUP
...
available = yes
public = no
- or download this
---
name: ingy
age: old
...
- green
- blue
- or download this
use CFI;
# OBJECT = new( FORMAT );
...
my $config_inifiles = new CFI('inifiles');
my $config_yaml = new CFI('yaml');
- 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');
- 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() );