Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

updating perlre(1)

3 views
Skip to first unread message

Lars Noodén

unread,
Nov 30, 2013, 1:22:33 PM11/30/13
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.
<

Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯

unread,
Nov 30, 2013, 6:17:36 PM11/30/13
to perl-docu...@perl.org
Already taken care of in 7cf040c1f649790a4040aec47e47b4ce8b378728.
signature.asc
0 new messages