You never change myfunc's @$level_ref, thus you get no changes to the file's @level
Maybe you think my @level = @$level_ref; creates an alias? No, it creates a new array.
In reply to Re: Recursion - Array of Hashes
by ikegami
in thread Recursion - Array of Hashes
by Heffstar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |