Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
File Indexing programby chetanspecial (Initiate) |
on Jun 24, 2008 at 18:56 UTC ( [id://693803]=perlquestion: print w/replies, xml ) | Need Help?? |
chetanspecial has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks, i have written a recursive based directory indexing program which indexes all folders,subfolders and files(specifically for "D"). the problem is the program completes abruptly after a certain depth of folders.i cannot observe any specific point at which it stops.in D containing over 30000files and folders the program runs only upto 1000 files without any error being thrown. i have to make it clear that no errors are produced during execution of program 1.The writefile function displays over 1000 files instead of over 30000 2.I use push so that i can keep the current location and it does not matter whether i write the file in the beginning or the end as i can see the same progress. 3.Also i actually need to use mainarray to make a file search.that is why i use push. This program has been also written in C++(dev) and has been compiled.It runs indexing the whole directory. I have used the same conditions and variables. I started it out as a perl program,then to find out the reason why it didnt work i tried it in c++. please help
Back to
Seekers of Perl Wisdom
|
|