#!/usr/local/bin/perl use strict; use warnings; my $string = "This is what you have"; print "$string\n"; substr($string, 5, 2) = "wasn't;