Whitespace matters when assigning variables.

foo = 'bar' # incorrectfoo= 'bar'  # incorrectfoo='bar'   # correct

The first two will result in syntax errors (or worse, executing an incorrect command). The last example will correctly set the variable $foo to the text “bar”.