>>56
ちと例がわかりづらかったですかね。

$_ = 'a1bb2ccc3dd4e5';
s/\d/2 * $&/eg;
print;