Pant, Hridyesh am Dienstag, 25. Oktober 2005 08.08: > Thanks.. > Now I want to change the string in file. > orgtext="C:\\test"; > newtext="/bin/old"; > I tired $intext =~ s/$orgtext/$newtext/ms; but this is not working..
Wrong modifiers /ms. See perldoc perlre perldoc perlretut joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>