Lars Noodén
unread,Nov 30, 2013, 1:22:33 PM11/30/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to perl-docu...@perl.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
together.
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?
Regards,
/Lars
$ diff perlre.pod perlre.pod.orig
124,134d123
< =item e
< X</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
< X</r>
<
< In a substitution, return the replacement but leave the original string untouched.
<