http://www.perlmonks.org?node_id=29242


in reply to How do I insert (not overwrite) into a string?

Another way to do it:

my $str = "ello"; substr($str,0,0,"H");

Cheers,
KM