On 11/30/2013 02:55 PM, Charles DeRykus wrote:
> See the substitution operator in perlop:
> 
> |||<http://perldoc.perl.org/functions/s.html>| A |/e| will cause the
> replacement portion to be treated as a full-fledged Perl expression and
> evaluated right  then and there. It is, however, syntax checked at
> compile-time. A second |e| modifier will cause the   replacement portion
> to be |eval <http://perldoc.perl.org/functions/eval.html>|ed before
> being run as a Perl expression.
> ...
> 
> Here's the cross ref. in perlre:
> 
>     For reference on how regular expressions are used in matchings of
> "m//",
>     operations, plus various examples of the same, see discussions of
> "m//",
>     "s///", "qr//" and "??" in "Regexp Quote-Like Operators" in
> perlop.ls of
>      Modifiers quoted constructs" in perlop
> 

Thanks.  I see those in perlop and perlfunc.  In perlfunc, it is grouped
as "Regular expressions and pattern matching" though that man page just
points to perlop.

A really clear description in perlre would help, since the other
modifiers are already there and they belong all together.  The two s///
modifiers, /e and /r, should be at least named in that group at least as
one-line summaries.

Regards,
/Lars

-- 
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