Do you know where your variables are? | |
PerlMonks |
Re: Is there a cleaner way to write this code below, which includes derferencing references, that themselves have to be dereferenced?by tangent (Parson) |
on May 06, 2022 at 00:10 UTC ( [id://11143609]=note: print w/replies, xml ) | Need Help?? |
I may be missing something but you can get DBI to do all this work for you. Using selectall_arrayref() with the 'Slice' option will return an array reference of hash references the same as your return \@ticketsRecords:
In Section
Seekers of Perl Wisdom
|
|