./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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |