s///e is interesting if the result of the code in the replacement part depends on the match. s/(\d+)\s*\+\s*(\d+)/$1 + $2/e; for instance.
Abigail
In reply to Re: how do I use s///e
by Abigail-II
in thread how do I use s///e
by PastisALo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |