develooper Front page | perl.documentation | Postings from November 2013

updating perlre(1)

Thread Next
Lars Noodén
November 30, 2013 18:22
updating perlre(1)
Message ID:
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
< 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.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About