Hi monks
I am doing a small coding for copying the sub folders to another location with some condition checks.
In that i have one small condition,
if ($total < 7)) { push (@final, @temp); $hash{$s++}= \@final; @final =(); }
In the @temp array i have some values and i will push it in another @final array if the condition satisfies. I stored the array reference in a hash for my later use.When i printed the hash key and values i didnt got any output. I found where i am going wrong, that is, I am again nullifying the array @final in the block.
As per my coding i want to nullify that array if the condition satisfies. Also i want to store the array reference in the hash. I tried using temporary array but i could not able to get the solution.
So is there anyother way to store the array reference in the hash and nullify that array later.
Thanks in advance
Prasad
In reply to array reference by prasadbabu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |