Hi Monks,
Is there a simply way to mark the end a variable name like $1 ?
e.g. I want to add a 'n' after the $1:
s/abc(\w+)x/$1.'n'/e; _____ is working.
Is this also possible without the modifier "e" ?
s/abc(\w+)x/$1n/; _____ is not working because "$1" and "n" is merged to "$1n"
The same problem I have at strings: $1."n" is needed for "$1n"
Thanks for your help !!!
In reply to mark end of variable name (e.g.$1) by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |