in reply to Re: Re: Quotes
in thread Quotes

but I left out the ~ in my assignment statement.

The perlman:perlop defines =~ as a binding operator, not an assignment:
Binary ``=~'' binds a scalar expression to a pattern match.

Rudif