|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: "Scalar found where operator expected", referencesby fglock (Vicar) |
| on May 21, 2005 at 23:31 UTC ( #459287=note: print w/ replies, xml ) | Need Help?? |
|
You need a comma between the array and the scalar: push @weighted, $key;
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||