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!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Push + variable argument
by himanshu.padmanabhi (Acolyte) on Feb 10, 2009 at 12:42 UTC |
In Section
Seekers of Perl Wisdom