Re: perlre(1) and substitution evaluations

2013-12-01 Thread john slee
On 30 November 2013 21:59, Lars Nooden lars.noo...@gmail.com wrote: perlre(1) seems to be missing information about substitution evaluations with the /e option. The functionality is present in perl: It is, however, already documented in perlop(1) John

perlre(1) and substitution evaluations

2013-11-30 Thread Lars Nooden
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 base documentation. The modifier /e is described in Programming Perl, 4th ed, pp 186,

Re: perlre(1) and substitution evaluations

2013-11-30 Thread Marc Espie
On Sat, Nov 30, 2013 at 12:59:54PM +0200, Lars Nooden wrote: 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 base documentation. The

Re: perlre(1) and substitution evaluations

2013-11-30 Thread Lars Noodén
On 11/30/2013 01:52 PM, Marc Espie wrote: For this kind of thing, you're much better off talking to upstream as this is totally openbsd-independent. Ok. Thanks. /Lars