Hello all,
I was using a for loop in the following manner in one of my perl programs.
for($j=31, $n=$initial;$j>=0,$n<=$final;$j--,$n++) {
# Executing statements here
}
1) Is it legal in perl to use the for loop as mentioned above ?
2) If so when i compile perl gives a message as follows
:
"Useless use of integer ge (>=) in void context"
What does this message mean ? Is this an error message or a warning message ?
The reason for the questions are the output which I am expecting seems to be generated
inspite of the above message.
Thanks for the help,
Cheers,
Hari
---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!