my $graffito = 'Richard was here.'; substr($graffito, 8, 3) = 'is'; # now, it's "Richard is here."