> I am sorry I did not give the real situation before, I want to execute > this on command line like > > perl -pe 's/$ARGV[1]/$ARGV[2]/' filename OLDSTR NEWSTR > > Is this possible ? > > Thanks > Ram
Why not perl -pe 's/OLDSTR/NEWSTR/' filename -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>