katiep has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

I'm having a Perl code. Essentially, it will read all the files in a specified folder, do the process and print output into a different file in a different folder. The problem that I have is that it works well with small size folder, but not with larger ones.

How do I know where the process hangs?

Replies are listed 'Best First'.
Re: Perl hangs with specific folders
by soonix (Chancellor) on Sep 08, 2014 at 06:15 UTC
Re: Perl hangs with specific folders
by Anonymous Monk on Sep 08, 2014 at 08:55 UTC

    There could be several things going wrong.. can you show your code? Best would be if you could show the smallest possible - but working - example code that reproduces the problem. Also please see here for more information on how to help us help you.

Re: Perl hangs with specific folders
by GotToBTru (Prior) on Sep 08, 2014 at 13:10 UTC

    I suggest you learn about the debugger. It would allow you to execute each line of your program (or parts of your program) one at a time, and inspect the values of variables to confirm that things are happening as you expect.

    1 Peter 4:10