in reply to Re: large file issue?
in thread large file issue?

thanks for the quick reply - I tried system(xxx) || die "$!" and it didn't tell me anything. ...and thanks for the system in list context hint - I had never thought of that. and the loop - yeah, I know...the loop is actually doing a lot more - I just took out some code to avoid identifying my employer/client ;)

Replies are listed 'Best First'.
RE: RE: Re: large file issue?
by amelinda (Friar) on Oct 26, 2000 at 00:56 UTC
    If you're going to try that, try system("blah") or die "$!\n"; instead... || has higher precedence and screws things up.
      Though the precedence thing doesn't matter here.. It's just a single statement, no ambiguity. Plus, system returns 0 (a false value) on success, counter to traditional Perl functions, so you'd need to use and instead of or.
        Yes, please, it is about the only work I get.