in reply to How to create an array of hashes return form a subroutine
for (my $i = 0; $i < $endvalue; $i++) { $NameArray[$i] = {addnaw()}; } [download]