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.
In reply to Re: Ah Crap
by JavaFan
in thread Ah Crap
by iamb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |