Ok, here's a good one...how do I pass an Array of Hash of Arrays to a subroutine? Do you just pass it like an array?
I've tried this, but I get the following error when attempting to use AoHoA in mysub:
"Can't coerce array into hash..."
It's obvious that I'm missing something. Do I need to do some sort of constructor on AoHoA before calling the sub???
Thanks!
Code:
undef @AoHoA;
&mysub(\@AoHoA);
I've tried this, but I get the following error when attempting to use AoHoA in mysub:
"Can't coerce array into hash..."
It's obvious that I'm missing something. Do I need to do some sort of constructor on AoHoA before calling the sub???
Thanks!