You're right. I still had this on the mind. It was posted only two hours before.
Back to your problem. There isn't one if you don't use globals. Fix:
if (my ($pre, $post) = m/(.+?)\+(.+)/) { return diff($pre)."+".diff($post); }
In reply to Re^3: my $1
by ikegami
in thread my $1
by mltucker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |