Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: "Scalar found where operator expected", references

by fglock (Vicar)
on May 21, 2005 at 23:31 UTC ( #459287=note: print w/replies, xml ) Need Help??


in reply to "Scalar found where operator expected", references

You need a comma between the array and the scalar:

push @weighted, $key;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://459287]
help
Chatterbox?
NodeReaper adds to his collection

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2017-08-21 05:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (317 votes). Check out past polls.

    Notices?