in reply to Re^2: $1[
in thread $1[

No, for sure it is not a bug. When in doubt use the ${name} form inside of double quoted strings, or other contexts with similar rules. This could have happened with a var named $foo

demerphq (dmq but i can't be bothered to log in)

Replies are listed 'Best First'.
Re^4: $1[
by demerphq (Chancellor) on Feb 06, 2019 at 12:36 UTC

    That was me. Can't even remember my account name apparently. :-)

    ---
    $world=~s/war/peace/g