perlre(1) seems to be missing information about substitution evaluations
with the /e option.  The functionality is present in perl:

        perl -e '$_=2; s/2/1+3/e; print'

But it is not listed in the pod documentation for v5.16.3 or v5.18.1.
The modifier /e is described in "Programming Perl", 4th ed, pp 186,
254-255.

Where should suggestions for corrections be sent?
Could something like the text below be added?

Regards,
/Lars

$ diff perlre.pod perlre.pod.orig
108,113d107
< =item e
< X</e>
<
< 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.
<

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to