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

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: difference Perl for linux or Windows
by tirwhan (Abbot) on Feb 10, 2006 at 11:29 UTC

    Hi Murcia. This may help. In particular, you should reflect on the fact that none of us has a crystal ball which magically shows what your code does and that it's pretty difficult to remotely debug a non-reproducible problem in unknown code.

    Other than that, try putting some logging into your CGI so you can determine at which point it fails, then create a minimal test case which reproduces the problem. If that in itself doesn't help you figuring it out, post the test case here and we'll see what we can do.


    All dogma is stupid.
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: difference Perl for linux or Windows
by duff (Parson) on Feb 10, 2006 at 15:31 UTC

    I've never experienced your particular problem before but usually when there is some mysterious breakage in one of my programs, I print out some diagnostic info that will help me formulate a theory about the cause of the breakage. Either inserting print statements in the code or running the debugger should give you some clue.

    Given that you haven't given us any information on what your program does (other than "processes a list") it's not likely that anyone will be able to help you more than to tell you "go debug your program!"

Re: difference Perl for linux or Windows
by helphand (Pilgrim) on Feb 11, 2006 at 03:10 UTC
    Any hints are welcome!

    Others have already given you some excellent advice on how to better pose your question, but I do have a possible hint for you. I've run into a similar situation with scripts that were much slower on windows versus a Linux box and found that the underlying cause, at least in my case, was memory size.

    So, you might want to be sure that the two platforms are spec'd out similarly, since memory size could be a factor.

    Scott

Re: difference Perl for linux or Windows
by Anonymous Monk on Feb 10, 2006 at 22:15 UTC
    How do you know it stops in the middle of the process? The order in the program process list is not relevant. Problem is on line 59