Well actually, not quite, I'm still getting the same error.
I've given up and used a local named variable, $loc_diagnoses_text, since you ask. And this works perfectly. Not sure why the other one didn't work, but I'm happy with this solution.
Steve
In reply to Re^2: Scope of RegEx vars like $_
by Steve_BZ
in thread Scope of RegEx vars like $_
by Steve_BZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |