Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Logical expression evaluation

by Enlil (Parson)
on Jul 27, 2005 at 15:51 UTC ( #478659=note: print w/replies, xml ) Need Help??


in reply to Logical expression evaluation

one way is:
my $v=1; my $f=int( !($v) ); print "**$f**\n";

-enlil

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://478659]
help
Chatterbox?
[choroba]: erix Reminds me of people selling second hand clothes made by the famous "Keep Away From Fire" brand

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2017-01-16 16:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (151 votes). Check out past polls.