Re: File search program!

2008-06-20 Thread Paul Lalli
On Jun 19, 2:07 pm, [EMAIL PROTECTED] (Gunwant Singh) wrote: > Paul, > > I did not rewrite any windows program Yes you did. You rewrote the command `dir /s`, which does exactly what your program does. I'm not saying it was your *intent* to rewrite dir /s. I'm saying that's what your program do

Re: File search program!

2008-06-20 Thread Dr.Ruud
Gunwant Singh schreef: > find(\&Wanted, '\/'); Why would you want to escape a slash? There is no need, and it looks ugly too. :) -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: File search program!

2008-06-19 Thread John W. Krahn
Gunwant Singh wrote: Hi all, Hello, I wrote a code that can search any file/folder on a PC given that you must give the file name with its extension. The code works fine. Any suggestions to make the code better or faster. Here is the code:

Re: File search program!

2008-06-19 Thread Gunwant Singh
Paul, I did not rewrite any windows program but just thought of coding such a program. That code which you re-wrote was good actually, except for the backslash which you missed , as in the following: find(\&Wanted, '\/'); I will be re-writing the same code without the File::Find module. I

Re: File search program!

2008-06-19 Thread Paul Lalli
On Jun 19, 12:16 pm, [EMAIL PROTECTED] (Gunwant Singh) wrote: > Hi all, > > I wrote a code that can search any file/folder on a PC given that you > must give the file name with its extension. > The code works fine. Any suggestions to make the code better or faster. > Here is the code: > ---

File search program!

2008-06-19 Thread Gunwant Singh
Hi all, I wrote a code that can search any file/folder on a PC given that you must give the file name with its extension. The code works fine. Any suggestions to make the code better or faster. Here is the code: --