substr() as subroutine argument

substr($foo,10,10)='xxx';
substr($foo,10,10,'xxx');
$foo = substr($foo,0,10) . 'xxx' . substr($foo,20);

Next