in reply to Re: Is there a cleaner way to write this code below, which includes derferencing references, that themselves have to be dereferenced?
in thread Is there a cleaner way to write this code below, which includes derferencing references, that themselves have to be dereferenced?
Thank you for this:
@GenericData{@ticketsFields} = @$rows;
It works great, just would like to understand it.
Why isn't it?
%GenericData{@ticketsFields} = @$rows;
Since I am building a hash, I would have just assumed the above. Just want to understand why it's being called as an array instead of a hash.
Thanks again
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Is there a cleaner way to write this code below, which includes derferencing references, that themselves have to be dereferenced?
by GrandFather (Saint) on May 05, 2022 at 21:58 UTC |