Nevermind it wasn't the reference it was that sneaky little /r at the end of the regexp that was changing my functions behaviour.
Note I would have never been able to guess that from the code you showed, which is why a Short, Self-Contained, Correct Example is so important, like I showed in my reply above.
In reply to Re^4: Recursively substitute against multidimensional hash
by haukex
in thread Recursively substitute against multidimensional hash
by Maelstrom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |