salva has asked for the wisdom of the Perl Monks concerning the following question:
Well, at least, it has surprised me:
my $out = "hello\nfoo" =~ s/o*$/O/gmr; say $out
<Reveal this spoiler or all in this thread>
Back to
Seekers of Perl Wisdom