=> $val=1.
Case 2 push @arr, ('val', '$str');
But '$val=$arr' is not working. I want to assign variable values to 'val'.
How to do it?
In reply to Push + variable argument by himanshu.padmanabhi