Does this rehohy output help?

my $VAR1; $VAR1->{formatted_address} = "Johannesburg, South Africa"; #d0 $VAR1->{types}[0] = "locality"; #d1 $VAR1->{types}[1] = "political"; #d1 $VAR1->{address_components}[0]{types}[0] = "locality"; #d3 $VAR1->{address_components}[0]{types}[1] = "political"; #d3 $VAR1->{address_components}[0]{short_name} = "Johannesburg"; #d2 $VAR1->{address_components}[0]{long_name} = "Johannesburg"; #d2 $VAR1->{address_components}[1]{types}[0] = "administrative_area_level_3"; #d3 $VAR1->{address_components}[1]{types}[1] = "political"; #d3 $VAR1->{address_components}[1]{short_name} = "Johannesburg"; #d2 $VAR1->{address_components}[1]{long_name} = "Johannesburg"; #d2 $VAR1->{address_components}[2]{types}[0] = "administrative_area_level_2"; #d3 $VAR1->{address_components}[2]{types}[1] = "political"; #d3 $VAR1->{address_components}[2]{short_name} = "City of Johannesburg Metropolitan Municipality"; #d2 $VAR1->{address_components}[2]{long_name} = "City of Johannesburg Metropolitan Municipality"; #d2 $VAR1->{address_components}[3]{types}[0] = "administrative_area_level_1"; #d3 $VAR1->{address_components}[3]{types}[1] = "political"; #d3 $VAR1->{address_components}[3]{short_name} = "GP"; #d2 $VAR1->{address_components}[3]{long_name} = "Gauteng"; #d2 $VAR1->{address_components}[4]{types}[0] = "country"; #d3 $VAR1->{address_components}[4]{types}[1] = "political"; #d3 $VAR1->{address_components}[4]{short_name} = "ZA"; #d2 $VAR1->{address_components}[4]{long_name} = "South Africa"; #d2 $VAR1->{geometry}{viewport}{southwest}{lat} = -26.2389231; #d3 $VAR1->{geometry}{viewport}{southwest}{lng} = 27.942449; #d3 $VAR1->{geometry}{viewport}{northeast}{lat} = -26.1041199; #d3 $VAR1->{geometry}{viewport}{northeast}{lng} = 28.1376001; #d3 $VAR1->{geometry}{location}{lat} = -26.2041028; #d2 $VAR1->{geometry}{location}{lng} = 28.0473051; #d2 $VAR1->{geometry}{location_type} = "APPROXIMATE"; #d1 $VAR1->{geometry}{bounds}{southwest}{lat} = -26.2389231; #d3 $VAR1->{geometry}{bounds}{southwest}{lng} = 27.942449; #d3 $VAR1->{geometry}{bounds}{northeast}{lat} = -26.1041199; #d3 $VAR1->{geometry}{bounds}{northeast}{lng} = 28.1376001; #d3

See also references quick reference

see also

chromatics free book Modern Perl a loose description of how experienced and effective Perl 5 programmers work....You can learn this too.
Learn Perl in about 2 hours 30 minutes


In reply to Re^3: Parsing a JSON response by Anonymous Monk
in thread Parsing a JSON response by mcoblentz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.