aboutsummaryrefslogtreecommitdiff
path: root/t/conf05.t
blob: 889746ce3e005d348c5d6f2b91bdfb961669267c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# -*- perl -*-
use lib 't';
use strict;
use Test;
use TestConfig;

plan(tests => 1);

my %keywords = (
    core => {
	section => {
	    list => {
		array => 1
	    },
	    pidfile => 1
	}
    }
);

my $cfg = new TestConfig(parameters => \%keywords);
ok($cfg->canonical(),'core.list=["en","to",5] core.pidfile="file2"');

__END__
[core]
    list = en
    list = to
    list = 5

    pidfile = file1
    pidfile = file2

Return to:

Send suggestions and report system problems to the System administrator.