in reply to Any limitations to system() command?

I think you'll need to post your code, if that's possible.  Otherwise, there are so many reasons it could be failing.  Is it small enough of a program that you can post it here?  If not, can you trim it down in size to the point that you can?

In the absence of seeing what you've written, there are a few things which come to mind:

But these are just thoughts ... I think once you post an actual example of the code, and especially if it's something that can be duplicated by one of the others here, you'll likely be pleased with how quickly we can help you detect the problem.


@ARGV=split//,"/:L"; map{print substr crypt($_,ord pop),2,3}qw"PerlyouC READPIPE provides"
  • Comment on Re: Any limitations to system() command?

Replies are listed 'Best First'.
Re^2: Any limitations to system() command?
by magic_yang (Initiate) on Feb 28, 2006 at 01:06 UTC
    Liverpole,

    I forgot about perldoc, as I usually use the o'reilly book. Learned about the $! variable that way.

    It turns out my problem was a memory allocation error. I'm using one of my company's proprietary modules. Turns out every version except the latest release had a bug in it that would act as a memory sink. Finally tracked down one of the developers and he let me in on the joke.

    Thanks for your help. I mainly work on IC's, and software's not my forte. Was stuck for a while and just had no idea how to proceed. I appreciate your assistance