How to find a file in a directory structure

2004-12-07 Thread arjun.mallik
Hi Frnds, I have to search for a file in a PATH and then once the file is found , assign that full path of the that file to an environment variable. and quit further searching.[because only full path of the first occurance of the file is required] PATH is defined like ---

Re: How to find a file in a directory structure

2004-12-07 Thread Ing. Branislav Gerzo
[EMAIL PROTECTED] [am], on Tuesday, December 7, 2004 at 15:27 (+0530) typed the following: am I have to search for a file in a PATH and then once the file is found is the PATH same as your ENV PATH ? Try to use $myfile = `which file`; Did you look at File::Find ? -- ...m8s, cu l8r, Brano.