drose2211: Further to Athanasius's post: Note also that the s/// substitution operator needs the /e modifier to be able to evaluate an arbitrary expression in its replacement block. See s/PATTERN/REPLACEMENT/ in Regexp Quote-Like Operators in perlop.
Give a man a fish: <%-{-{-{-<
In reply to Re^3: substitution with regex
by AnomalousMonk
in thread substitution with regex
by drose2211
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |