I see a couple things here that are common mistakes that can be real hard
to find if you are just starting out....
Also, you CAN use a here document without quoting the end tag... So that
is probably not the problem...
... code ...
> if ($guess = "") {
OOPS! With ($guess = "") you are assigining an empty string to $guess.
This will ALWAYS return true! You either meant == for numbers or eq for
text.
... code ...
> } elsif ($guess = "toe") {
OOPS, here is the same error. This time you are assigning "toe" to $guess.
> ) else (
OOPS again, this will cause the program not to compile! You used:
) else (
instead of:
} else {
The braces make a BIG difference!!!
Hope this helps!
Brent
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]