directory operations

2004-04-01 Thread MuthuKumar
Hello All, I have a directory which contains several files.. like .txt .html .js files like that. I have to search a pattern in all files.. if it is available then replace it and else leave it out. I have made it for single file.. what i want is to implement for the full directory.. my @file

Re: directory operations

2004-04-01 Thread Flemming Greve Skovengaard
MuthuKumar wrote: Hello All, I have a directory which contains several files.. like .txt .html .js files like that. I have to search a pattern in all files.. if it is available then replace it and else leave it out. I have made it for single file.. what i want is to implement for the full dire

Re: directory operations

2004-04-01 Thread Randy W. Sims
MuthuKumar wrote: Hello All, I have a directory which contains several files.. like .txt .html .js files like that. I have to search a pattern in all files.. if it is available then replace it and else leave it out. I have made it for single file.. what i want is to implement for the full dire

RE: directory operations

2004-04-01 Thread Tim Johnson
Subject: Re: directory operations [snip] > my @file_list = > foreach $file (@file_list){ > file loop > . > close(file-handle); > } > > I have checked like this.. i did not ge