Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Error while taking 'Scalar of scalar'

by jettero (Monsignor)
on Jul 04, 2007 at 12:16 UTC ( [id://624873]=note: print w/replies, xml ) Need Help??


in reply to Error while taking 'Scalar of scalar'

Quasi-relevant: my $randcolor = $colors[ int rand $#colors ]; misses the last one every time. :(

You might want my $randcolor = $colors[ rand @colors ]; instead.

-Paul

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-26 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found