Do you know that a reference to substr works as you described?
Only if you use a single substring. I have a partially-written module that does this type of thing and supports multiple simultaneous substrings of the same string such that they cooperate (which leads to some tricky bits which were fun to hash out).
But tye having an unpublished module isn't really a reason to avoid writing one's own version of something similar.
- tye
In reply to Re^2: Is there a module for object-oriented substring handling/substitution? (2 substrs)
by tye
in thread Is there a module for object-oriented substring handling/substitution?
by smls
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |