perl -spe 's/mymodel/$model/' -- -model=1200 mytext.txt #### perl -spe 's/mymodel/$arg/' -- -arg=$model mytext.txt