in reply to Re^7: Passing argument by reference (for a scalar)
in thread Passing argument by reference (for a scalar)

It's documented to be allowed in string literals, but the OP is not using it in a string literal.

  • Comment on Re^8: Passing argument by reference (for a scalar)