It could just be local instead of being a 'gamble'. Wouldn't make anything worse.

Your example is not related to what he said.
"[...] you would think the results both would be Y but [...]"
According to what he said, he wouldn't think that. $ifmatch would act in its scope, which is just fine.

The issue is when it's used from another scope, not another condition, and such change is followed everywhere else when it shouldn't (IMO too). There's a difference.
It's like you having an alias which sets a local variable %x, then calls another alias and this 2nd one changes %x's value.


BTW you didn't need those extra ()'s anyway :tongue:

Last edited by cold; 27/09/03 03:49 AM.

* cold edits his posts 24/7