in reply to Re^2: substitution with regex
in thread substitution with regex

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:  <%-{-{-{-<