Removed warning

This commit is contained in:
Alessandro Ranellucci 2014-06-13 16:18:00 +02:00
parent a35ab2f4ee
commit b9de65e174

View file

@ -45,6 +45,7 @@ sub apply_config {
next unless ref($value) eq 'ARRAY';
# TODO: this is a workaroud for XS string param handling
# https://rt.cpan.org/Public/Bug/Display.html?id=94110
no warnings 'void';
"$_" for @$value;
$self->_multiple_set("${opt_key}_" . $_, $value->[$_]."") for 0..$#$value;
$self->_multiple_set($opt_key, $value->[0]."");