in reply to Re^2: Multiple value tags for xml element using XML::Generator
in thread Multiple value tags for xml element using XML::Generator

map isn't technically needed. It was just convenient.

my @value_eles; for (@values) { push @value_eles, $xml_handle->value($_); } print $xml_handle->book(@value_eles);

Replies are listed 'Best First'.
Re^4: Multiple value tags for xml element using XML::Generator
by matrixmadhan (Beadle) on Nov 26, 2008 at 15:32 UTC
    yes, I get that and map fits more to this use case