Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

RE: Re: large file issue?

by clearcache (Beadle)
on Oct 25, 2000 at 22:13 UTC ( [id://38453]=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://38453]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-06-19 09:56 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.