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

Many thanks for the reply
This is what I was looking for.
I need to revise my basics on map
thanks again
  • Comment on Re^2: Multiple value tags for xml element using XML::Generator

Replies are listed 'Best First'.
Re^3: Multiple value tags for xml element using XML::Generator
by ikegami (Patriarch) on Nov 26, 2008 at 13:57 UTC

    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);
      yes, I get that and map fits more to this use case