good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: "Scalar found where operator expected", referencesby fglock (Vicar) |
on May 21, 2005 at 23:31 UTC ( [id://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
|
|