diff options
Diffstat (limited to 'lib/Config/Tree/Node/Section.pm')
-rw-r--r-- | lib/Config/Tree/Node/Section.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Config/Tree/Node/Section.pm b/lib/Config/Tree/Node/Section.pm index 25b1bd5..9a888c0 100644 --- a/lib/Config/Tree/Node/Section.pm +++ b/lib/Config/Tree/Node/Section.pm @@ -105,7 +105,7 @@ sub as_hash { push @ar, [ $kw, $val, $hr ]; } } else { - my ($name, $value) = &{$map}('value', $elt->[0], $elt->[1]->value); + my ($name, $value) = &{$map}('value', $elt->[0], scalar($elt->[1]->value)); $elt->[2]{$name} = $value; } } |