Google::Ads::Common::MapUtils


Back to Top


NAME

Google::Ads::Common::MapUtils

Back to Top


SYNOPSIS

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

Back to Top


DESCRIPTION

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

Back to Top


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.

Back to Top


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.

Back to Top


AUTHOR

David Torres <api.davidtorres at gmail.com>

Back to Top


REPOSITORY INFORMATION

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

Back to Top

 Google::Ads::Common::MapUtils