hi all,
suppose I have a directory with lots of levels of subdirectories within that. any of the sub directory may contain .exe and .dll files. different directories may contain dlls and exe's with same name but they differ in their versions. now i want to write a perl script that can search a dll or exe with a given name having a particular version. for example..
lets there is a directory "root" with 4 subdir a,b,c,d. all of them contain a dll file named "myfile.dll", the versions are say as follows
directory dll name version
a myfile.dll 1.1.0
b -do- 1.1.1
c - do- 1.1.2
d -do- 1.1.3
now I give as an input to my script "myfile.dll" and "1.1.2" then it shoud return me the myfile.dll file of directory "C"
I hope this is clear to u all..
waiting for your replies
thanks.