Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: A "but" operator.

by SpanishInquisition (Pilgrim)
on Sep 27, 2004 at 19:00 UTC ( #394297=note: print w/replies, xml ) Need Help??


in reply to A "but" operator.

"But" is not a conditional operator like "and", it's actually two seperate statements with an implied mutual exclusivity between them. What "but" would return in scalar or array context is up for debate, but it's probably something like:

sub but() { my ($x,$y) = @_; die "that's unpossible!" if (!$x && $y) return $x; }

Interesting thread, but I agree with your girlfriend ... it's totally useless :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://394297]
help
Chatterbox?
[MidLifeXis]: Has anyone been successful running prove under Windows with a --jobs parameter? It appears, even with (what appears to be) appropriately- configured parameters and up to date Test::Harness/TAP ::Harness that tests are still running serially.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2016-12-06 17:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (112 votes). Check out past polls.