Simon Taylor wrote in perl.documentation : > I think the author means 'wanted' rather that 'want'. > > (I'm not sure if this is the right forum for this patch, please advise if I > should post this somewhere else).
Usually doc patches should be posted to perl5-porters, or patches to perlfaq to perl-faq. Anyway, that won't be needed for this one -- I've applied it to the development sources of perl as change #27989. Thanks ! > --- perlretut.pod Fri Apr 28 17:20:40 2006 > +++ perlretut.new Fri Apr 28 17:27:35 2006 > @@ -500,7 +500,7 @@ > $x =~ /girl.Who/m; # doesn't match, "." doesn't match "\n" > $x =~ /girl.Who/sm; # matches, "." matches "\n" > > -Most of the time, the default behavior is what is want, but C<//s> and > +Most of the time, the default behavior is what is wanted, but C<//s> and > C<//m> are occasionally very useful. If C<//m> is being used, the start > of the string can still be matched with C<\A> and the end of string > can still be matched with the anchors C<\Z> (matches both the end and