Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: What is true and false in Perl?

by ambrus (Abbot)
on Apr 07, 2005 at 19:30 UTC ( #445846=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    undef     # evaluates to "" so it's false -- note, you may get a warni
    +ng "use of uninitialized value if you are using -w
    
  2. or download this
    my $a;
    if ($a) {}
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2014-09-30 19:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (381 votes), past polls