Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 lurking in the Monastery: (5)
As of 2016-12-07 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (133 votes). Check out past polls.