Type perl -v.
The /r feature was introduced in Perl 5.14.0: perl5140delta.
Dave
In reply to Re: Regex substitution modifier /r by davido in thread Regex substitution modifier /r by nonsequitur