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

Re^3: Flag variables

by adrianh (Chancellor)
on Mar 07, 2003 at 11:05 UTC ( #241107=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: Flag variables
in thread Flag variables

Now if grep were smart enough to shortcut when called in "boolean" context, then there would be no reason not to use it. Of course, "boolean" context per se won't exist until perl 6...

Until then, using first from List::Util is one alternative.

Comment on Re^3: Flag variables
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2015-11-28 16:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (743 votes), past polls