Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: how ! operator works

by Deepthi (Initiate)
on Feb 04, 2011 at 17:14 UTC ( #886256=note: print w/replies, xml ) Need Help??


in reply to how ! operator works

You have assigned some value to $r variable. That's why it is showing as defined. If you give my $r; Then it will say not defined. Rest all cases, if you assign the variable any value, that means defined. my $r = !1; my $r = !0; my $r = "";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://886256]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-02-28 04:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (396 votes). Check out past polls.