in reply to Simple problem, cant fix?

$playerPiece = $markers[rand $totalMarkers]# randomly choose x or o fo +r player.
Add a semicolon before the #.
else if
Change it to "elsif".

Not a syntax error, but you probably should change:

if($input eq("quit" || "exit")){ # Checks what word is.
to:
if($input eq "quit" || $input eq "exit")){ # Checks what word is.