Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Boolean (was Boolian) operators defy my understanding...

by philcrow (Priest)
on Jun 21, 2007 at 12:10 UTC ( [id://622548]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Boolean (was Boolian) operators defy my understanding...
in thread Boolean (was Boolian) operators defy my understanding...

Yes, you've got it. That's why I said system is odd. Most Perl functions return something that works in a boolean test (open ... or die), but not system. It uses the Unix shell behavior (all shells do this not just bash). So you have to reverse the sense of the test at very least. Really, you should know what the failure codes are and handle them as cases, as shown in another response.

Phil

The Gantry Web Framework Book is now available.
  • Comment on Re^3: Boolean (was Boolian) operators defy my understanding...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-20 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found