The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Google::Ads::Common::MapUtils

SYNOPSIS

 use Google::Ads::Common::MapUtils;

 my $map_entries = Google::Ads::Common::MapUtils::get_map($map_xml);
 # Make use of $map_entries.

DESCRIPTION

A collection of utility methods for working with maps (associative arrays).

SUBROUTINES

get_map

Gets a map (associative array) from an array of map entries. A map entry is any object that has a key and value field.

Parameters

An array of map entries.

Returns

A map built from the keys and values of the map entries.

LICENSE AND COPYRIGHT

Copyright 2011 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

AUTHOR

David Torres <api.davidtorres at gmail.com>

REPOSITORY INFORMATION

 $Rev: $
 $LastChangedBy: $
 $Id: $