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 does. > 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 did not "miss" anything. I very intentionally left the backslash out, because there's absolutely no reason for it to be there. > I will be re-writing the same code without the File::Find module. ... .Why would you do that? The point of File::Find is to recurse through a directory structure. If you're doing this as a lesson for yourself, to learn how to recurse manually, I guess that's fine. But File::Find is the "right" way to do it. Paul Lalli -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/