On Wed, Jun 30, 2021 at 06:18:13AM -0600, Karl Williamson wrote: > $ blead -Dr -le "qr'$foo'm" > Compiling REx "" > Final program: > 1: NOTHING (2) > 2: END (0) > minlen 0 > Enabling $` $& $' support (0x7). I think that your Unix shell quoting is not doing you favours here. I think that for this examples the shell will replace $foo with an empty string, as the shell is processing the "" quotes. So you perl one-liner is not what you intended. (I believe). And in the other, \$ is processed by the shell, not perl's parser. Nicholas ClarkThread Previous | Thread Next