in reply to Apache 2, Perl 5.8.0, Netware 6.5 server reboots

Interesting. I replaced the || with "or", and ran the script and my server rebooted. Is there anything wrong with my syntax (Personally I think Netware is hosed up)? I put the file in the same directory as the scirpt. BTW, the version I'm using is perl v5.8.0 Chris
  • Comment on Re: Apache 2, Perl 5.8.0, Netware 6.5 server reboots

Replies are listed 'Best First'.
Re^2: Apache 2, Perl 5.8.0, Netware 6.5 server reboots
by diotalevi (Canon) on Jun 29, 2005 at 17:07 UTC
    Your server may think the current working directory is different than you. Try using an absolute path to that file and try it again. Also, examine your log file. You'll probably see the line where it aborted because it couldn't read the file. Also, also, you might want to use something like Cwd like use Cwd; warn "current working directory: " . getcwd(); just prior to that line. You'll know what the current directory is then.
      Thank you!! I did a getcwd() and lo, it was not the directory I wanted. I then did a chdir and it's doing much better.