> The problem is not the rand().  The problem was the user didn't put
> parentheses around the elements of the array assignment.
>
>   @array = ("This", "That", "Those");
>   print $array[rand @array];


Ah ha! those curly brackets have a lot to answer for lol! I can't believe it
was something so simple...

thanks

Wytch




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to