in reply to Re^3: Process large text data in array
in thread Process large text data in array

My program are mainly run thru www web browser, there is no command line execution in concern here. Does the interrupt handler you suggested able to capture this or they are all same?

Sorry, but I'm not qualified to answer that question. I suggest you post a new SoPW along the lines of:"What sources of interrupts can affect my perl/CGI script; and what can I do about them?".


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked

Replies are listed 'Best First'.
Re^5: Process large text data in array
by hankcoder (Scribe) on Mar 11, 2015 at 17:44 UTC

    Thanks, I'll do that after I have done some homework. In fact, you already given me some important point of where to look into this matter. It has something to do with SIGPIPE/ connection interrupt.

    Reading thru page http://perl.apache.org/docs/1.0/guide/debug.html section "Handling the 'User pressed Stop button' case", "Detecting Aborted Connections", "The Importance of Cleanup Code" given me great deal of extra understanding of it. Thanks again.