in reply to Re: Illegal seek error for system()
in thread Illegal seek error for system()

Actually..I am saving the error in a logfile as:

system() failed: $? $!

Why am I getting these errors? Where can I look them up?
  • Comment on Re: Re: Illegal seek error for system()

Replies are listed 'Best First'.
Re: Re: Re: Illegal seek error for system()
by bikeNomad (Priest) on Jul 18, 2001 at 19:32 UTC
    $! isn't reliable after a system(). The 512 means that the called program returned 512>>8, or 2. So look at the called program's manual page or other documentation, and find out what would make it exit with an error 2.
      I switched over to using exec for now.
      I have received a numerous amount of errors using system().
      Thank you.