for my $is (1) { # one iteration with $is=1 $target =~ s//are/; } #### thare is a test of the servise #### $target =~ /is/; $target =~ s//are/;