john7701 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: Unknown runtime screen output question
by moklevat (Priest) on May 26, 2006 at 14:19 UTC
    Although other monks have pointed out why it will be next to impossible to answer your questions, I will take a pre-caffeine stab in the dark and guess that the script's working directory is different when run under the scheduler than it is when run from the command line. Thus, perhaps it is "Searching..." for a file because it is looking in the wrong directory. Of course, it could be "Searching..." for Mr. Goodbar for all I know.
Re: Unknown runtime screen output question
by marto (Cardinal) on May 26, 2006 at 14:08 UTC
    john7701,

    Have you looked at the parts of the script that outputs text to the screen?
    You have not posted any code for anyone to help you with.
    Please read How do I post a question effectively? if you have not already done so.

    Martin
Re: Unknown runtime screen output question
by blazar (Canon) on May 26, 2006 at 13:56 UTC

    We can hardly recognize the output of a program we don't know. Did you write that script yourself? Evidence suggests that the answer is "no". If so, then PM is for discussing Perl, not stuff that happens to be written in Perl. If you have some code to show, like a relevant portion of the program under consideration, I bet someone may help you.

Re: Unknown runtime screen output question
by john7701 (Novice) on May 26, 2006 at 14:24 UTC
    The script is my own. I am not new to Perl and am aware of redirection and do so when needed.
    This output is not from my own code. I assume it is from some library module that I hoped someone could recognize. I am using a grep call to filter an array on a regex.
    The interesting thing is that when running in command line I can see flashes of the word "searching" that dissappear. The scheduler seems to be able to capture those suppressed messages.
      The script is my own. I am not new to Perl and am aware of redirection and do so when needed.

      Then just do what is generally recommended: prepare a suitably trimmed down version of your script that still exhibits the problem. Chances are that while doing so you will find the answer to your question yourself. And otherwise you will have an actual starting point to offer other people to help you.

      I see... In that case, if you see the word flashing on the terminal when run interactively, it seems clear what's happening: The code is printing the message then either backspacing over it, sending a 'clear line' command or similar, causing it to be erased from the screen. The logging/capture from the scheduler, on the other hand, is not a fully-featured interactive terminal, so it doesn't know how to do things like backspacing, clearing lines, etc., it just records what's printed, but never erases it.

      No clue what module might be sending this, though. What modules do you use?

Re: Unknown runtime screen output question
by john7701 (Novice) on May 26, 2006 at 14:48 UTC
    Thanks. It was worth a shot to see if others recognize the output text.