I know this is a simple question but i am having a problem with an IF statement:
START: #START GOTO command
**CODE REMOVED TO SAVE SPACE**
print "Continue? (lower case only) \n";
$choice = <>;
if($choice eq "y" || $choice eq "yes")
{
goto CONTINUE;
}
else
{
goto START;
}
CONTINUE: #CONTINUE GOTO OPTION
print "how high of a number? ";
$number = <>;
$count = 0;
while ($count <= $number) {
....***CODE REMOVED TO SAVE SPACE***
The if($choice eq "y" || $choice eq "yes") keeps skipping to the else and going back to the top. everything else works except for that.