- or download this
[path]
files=foo.txt,bar.txt,baz.csv
- or download this
@files = split /\s*,\s*/, $config->{path}{files};
# the \s* removes the optional whitespace around delimiters
- or download this
foreach my $Section (values %$config) {
# $Section is a hash ref containing the values of the section, not th
+e section name!
...
$Section->{$value} = [split /\s*,\s*/, $Section->{$value}];
}
}