http://qs321.pair.com?node_id=742746


in reply to Push + variable argument

Your case1 push @arr, ('val', '1'); definitely does not assign 1 to a variable called $val.

I suggest taking another look at the docs on push.

hth!