Hello, In the following output of Dumper:
./getstreet.pl 6045 CK $VAR1 = 'paging'; $VAR2 = bless( { 'maxresults' => '500', 'numpages' => '1', 'numresults' => '1', 'curpage' => '1', 'perpage' => '10' }, 'ResultInfo' ); $VAR3 = 'extra'; $VAR4 = bless( { 'lettercombinatie' => 'CK', 'wijkcode' => '6045', 'provincie' => '', 'reeksindicatie' => '', 'plaats' => '', 'toevoeging' => '', 'huisnr' => '0', 'straat' => '', 'gemeente' => '' }, 'SearchParts' ); $VAR5 = 'results'; $VAR6 = [ bless( { 'straatnaam_nen' => 'Heinsbergerweg', 'lettercombinatie' => 'CK', 'gemeentecode' => '957', 'plaatsnaam' => 'ROERMOND', 'reeksindicatie' => '1', 'provincienaam' => 'Limburg', 'plaatsnaam_extract' => 'ROER', 'straatnaam_ptt' => 'HEINSBERGERWG', 'straatnaam_extract' => 'HEINS', 'plaatsid' => '1077', 'gemeentenaam' => 'ROERMOND', 'gemeenteid' => '321', 'wijkcode' => '6045', 'huisnr_van' => '130', 'straatid' => '146170', 'provinciecode' => 'K', 'huisnr_tm' => '188', 'reeksid' => '401688', 'straatnaam' => 'Heinsbergerweg', 'cebucocode' => '471', 'plaatsnaam_ptt' => 'ROERMOND' }, 'PCReeks' ) ];

The First 2 hashed array can i use with the following statement(for example): $result->{ $login }->{ 'wijkcode' }; (where login is paging or extra).

The third array witch should be a normal array, i can't access. if have tried many different statements like print %{$result}->{results}straatnaam;

But am not able to get the result i hoped for. Does anybody see what i have missed?


In reply to Hash hashed array with normal array by hvha

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.