in reply to Re: nested foreach loop not working
in thread nested foreach loop not working
Re [id://11139804 values' => 'user.firstName' ,it is an array, with the print statement it is giving ARRAY(0xx..) instead of the actual value.How to read the value
Your notation is not valid perl. In fact, I have no idea what you mean. (There is no key 'values' anywhere in your data) Your error message means that you are trying to print an array reference. You must dereference (Using References) it first.
Please modify my code to demonstrate your problem. We need code that we can actually run and duplicate your error. Post that demo as a reply to this post.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: nested foreach loop not working
by Annie17 (Initiate) on Dec 24, 2021 at 18:12 UTC | |
by hippo (Archbishop) on Dec 26, 2021 at 17:43 UTC | |
by BillKSmith (Monsignor) on Dec 27, 2021 at 18:48 UTC |