Hello I have a very urgent and important question. How do I declare or use file handle locally in PERL? I am writing a recursive sub to locate files in subdirectories. This sub calls itself when it finds directory ; if there are directory under this directory again then again it calls itself. The problem is that as I am unable to declare filehandle (I am using "readdir" and "opendir" builtin functions) ; in subsequent calls to the sub ; the HANDLE refers to the firstmost opened directory.
if I used "my" keyword for this purpose then perl gives error. So how to define file handle locally? its my urgent need! Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]