Regex work fine, but seems like using a fork to spread butter and cut bread. Whats wrong with:
Well, your suggestion doesn't use a fork to spread butter and cut bread, that's what's wrong! The point of the exercise is to figure out whether you can use a fork to spread butter and cut bread. It's not to spread butter and to cut bread, no, the essence is to use the fork. Read what the OP says:
A question was posed to me about using substitution to perform concatenation -- more as a question as to whether substitution is flexible enough to do so rather than is this the best way to use the tools Perl provides.
So, your suggestion utterly fails to answer the question - by avoiding the thing being queried.
In reply to Re^2: concatenation through substitution?
by Anonymous Monk
in thread concatenation through substitution?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |