kovacsbv has asked for the wisdom of the Perl Monks concerning the following question:
Anybody know how without invoking P5 compatibility mode?Perl 5: $x = "this is a test"; $x =~ s/ /-/;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl6 regex substitutions
by vinoth.ree (Monsignor) on Mar 05, 2014 at 18:15 UTC | |
Re: Perl6 regex substitutions
by FROGGS (Novice) on Mar 06, 2014 at 21:19 UTC | |
Re: Perl6 regex substitutions
by linuxer (Curate) on Mar 05, 2014 at 20:51 UTC | |
Re: Perl6 regex substitutions
by raiph (Deacon) on Mar 06, 2014 at 20:52 UTC |