Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: How to create a new array with the same name as an existing one in a loop?by haj (Vicar) |
on Aug 15, 2021 at 18:06 UTC ( [id://11135859]=note: print w/replies, xml ) | Need Help?? |
Just a quick guess: Create a copy to your list instead of a reference: $current_main_record{"role_data"} = [@role_records];
In Section
Seekers of Perl Wisdom
|
|