Front page | perl.documentation |
Postings from November 2013
From: Lars Noodén
November 30, 2013 18:22
Message ID: 529A2BA7.firstname.lastname@example.org
I would like to suggest that the two substitution modifiers, /e and /r, be
given brief summaries in the list of modifiers at the beginning of
perlre(1). The other modifiers are already there and they belong all
The modifier /e is described in "Programming Perl", 4th ed, pp 186,
254-255. /r is mentioned on p 186.
Where should suggestions for corrections be sent, is this the right list?
Could something like the text below be added?
$ diff perlre.pod perlre.pod.orig
< =item e
< In a subsitution, treat the replacement portion as an interpreted expression.
< Each additional C</e> modifier after the first functions as an eval() around the code to execute.
< =item r
< In a substitution, return the replacement but leave the original string untouched.
by Lars Noodén