in reply to Perl script is getting stuck for no reason

Since you are new, I'll give you a place to start. Run your script, with the 16 gig input file thru strace, and see where it hangs. Google for debugging with strace if you need to see how to use it.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re: Perl script is getting stuck for no reason