s/.../$1' $2"/ #### $string->substitute( qr/pattern/, sub { qq/replacement/ } );