in reply to What for sigils were allowed to be separated from identifiers?

This is not the case in regex though, $str =~ qq/$ x/; will use the value of $x as a regular expression, while $str =~ qr/$ x/; just doesn't match anything ($ is the position before \n, so the characther after that can neither be a space nor x). This means whitespace is not ignored when doing so yields a non-sensical expression :P

perl -E "$x = 'Hello'; say $ x =~ qr/$ x/ ? 'Match': 'No match'" No match perl -E "$x = 'Hello'; say $ x =~ qq/$ x/ ? 'Match': 'No match'" Match

Edit: it's whitespace, not blankspace, got the wrong word :)