prabu <[EMAIL PROTECTED]> wrote: : : i am new to perl.I am in a problem,So please help me to : get a solution : "I want to change texts in 172 files available at a directory : /pages(there are files also in a sub-directory),they all are : text files. : There are also some text files,which I no need to : change.I want one : single script to open all these files,match the particular : string and replace them with new string.
Read the file 'perlrun' included in your perl distribution. The section under the -i option gives examples of how to do this. HTH, Charles K. Clarkson -- Mobile Homes Specialist 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>