Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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


Comment on Re: Logical expression evaluation
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2015-08-03 15:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (45 votes), past polls