Don't really need the foreach, since the "my $argv..." line gives you a single value, rather than a list.
For the substr itself, you're close...
substr($argv, 2, 0) = $argv;
will do what your example request shows. Using 0 for the LENGTH parameter makes it insert, instead of...