"The wodchuck at the zo stod on the stoop"; #### my $str = "The wodchuck at the zo stod on the stoop"; $str =~ s/o/oo/i for 1..3; print "$str\n"; #### The woooodchuck at the zo stod on the stoop #### The woodchuck at the zoo stood on the stoop
## my $str = "The wodchuck at the zo stod on the stoop"; $str =~ s/o/oo/i for 1..3; print "$str\n"; ##
## The woooodchuck at the zo stod on the stoop ##
## The woodchuck at the zoo stood on the stoop