Welcome to the Monastery | |
PerlMonks |
Re: Parsing Array of arrays from json fileby 1nickt (Canon) |
on Sep 12, 2021 at 10:07 UTC ( [id://11136677]=note: print w/replies, xml ) | Need Help?? |
Hi, Your program is well structured and you correctly are printing out the array to debug. But the dump shows that each record is itself an array of arrays, so you need one more level of dereferencing. Change line 25 to
Hope this helps! edit: got the indices the wrong way around
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|