in reply to Ah Crap
This thing: /["]$a->{b}["]/ doesn't do what you think. It's not a pattern matching "b". The $a->{b}["] is that start of a long expression: $a->{b} is treated as an array reference, with ["] the start of an index - the expression in the index starting with a string. A string that isn't closed, hence the error.
|
|---|