Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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;


Comment on Re: "Scalar found where operator expected", references
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://459287]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2015-07-07 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls