© 2005 A.P. Lawrence
Three
The very first will print because both $a and $b are undefined. The second won't print because $b has a value - it's empty, but it still is defined. The last two print because an undefined variable is equal to a variable storing "".
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
/Tests/Perl/e0032.html copyright Tony Lawrence All Rights Reserved
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 1 | 2 | 4 | 99 | 414 |
Add your comments